ECET 330 DeVry Week 2 Homework
ECET330
ECET 330 DeVry Week 2 Homework
ECET 330 DeVry Week 2 Homework
1. Question: Write a simple program in which the value, $55, is added three times.
Question 2. Question: 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
Question 3. Question: Identify the addressing mode for each of the following.
I. STAA $2005
II. LDAA #$55
III. STAA $55
IV. CLRA
V. ADDA 0, X
Question 4. Question: Show the status of C and Z flags after each of the following codes.
I. LDAA #$54
I. ADDA #$C4
II. LDAA #01
III. ADDA #$FF
Question 5. Question: Show the status of H and N flags after the following code.
Comments
Content
ECET 330 DeVry Week 2 Homework
ECET330
ECET 330 DeVry Week 2 Homework
ECET 330 DeVry Week 2 Homework
1. Question: Write a simple program in which the value, $55, is added three times.
Question 2. Question: 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
Question 3. Question: Identify the addressing mode for each of the following.
I. STAA $2005
II. LDAA #$55
III. STAA $55
IV. CLRA
V. ADDA 0, X
Question 4. Question: Show the status of C and Z flags after each of the following codes.
I. LDAA #$54
I. ADDA #$C4
II. LDAA #01
III. ADDA #$FF
Question 5. Question: Show the status of H and N flags after the following code.