Define the following byte size data elements (A, B) in the data segment starting at memory offest
Fantastic news! We've Found the answer you've been seeking!
Question:
- Define the following byte size data elements (A, B) in the data segment starting at memory offest 400h: ECH, CCH, and two word size data elements (C, D) in the data segment starting at memory offest 450h: BBB9H, FF5FH respectively. Assume A, B are unsigned numbers.
- Move A, B from memory to general purpose registers using the register based addresing mode and the based indexed addressing mode respectively.
- Write an assembly program to perform (A/2), store the results in the data segment starting at offset 500h.
- Write an assembly program to perform ((A%B)2 – 2) + A ), andstore the results (qoutient and remainder) in the data segment starting at offset 700h.
- Write an assembly program to clear the numbered bits that accepts division by 3 of C. Leaving the other bits unchanged.
- Write an assembly program to compliment bit 3 of D. Leaving the other bits unchanged.
Related Book For
Posted Date: