ECET 330 ECET330 Week 2 Homework Assignment Solution
ECET 330 Week 2 Homework
1. Write a simple program in which the value, $55, is added three time
2. Which of the following instructions is (are) illegal?
I. LDAA #500
II. LDAA #50
III. LDAA #$255
IV. STAA #50
V. STAA $50
VI. LDAA 6, X
3. Identify the addressing mode for each of the following.
I. STAA $2005
II. LDAA #$55
III. STAA $55
V. ADDA 0, X
4. Show the status of C and Z flags after each of the following codes.
I. LDAA #$54
II. LDAA #01
5. Show the status of H and N flags after the following code.
6. Define a byte-size and word-size variable starting at address $2000. Initialize both variables to $55. You should use ORG, DC.B, and DC.W directives.
We Also Recommend
"Applying Skills Learned" Please respond to the following- From the e-Activity, explain what you learned about the Website you selected
(TCO 3) Managers are often required to make decisions about the future based