Define the following byte size data elements (A, B) in the data segment starting at memory offest 400h : ECH,
This problem has been solved!
Do you need an answer to a question different from the above? Ask your question!
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
View Solution
Create a free account to access the answer
Cannot find your solution?
Post a FREE question now and get an answer within minutes.
* Average response time.
Posted Date: October 22, 2020 16:36:57