Assume that MYREG = 85H. Indicate if it skips after compare is executed in each
ID: 3784999 • Letter: A
Question
Assume that MYREG = 85H. Indicate if it skips after compare is executed in each of the following cases:
a)LDAA #$90 b) LDAA #$70
CMPA #$85 CMPA #$85
BHI OVER BLO OVER
INCA INCA
ADDA #$2 ADDA #$2
OVER ………… OVER ……………
Explanation / Answer
Solution:
a)LDAA #$90
CMPA #$85
BHI OVER
INCA
ADDA #$2
OVER
85<90 No Skip
b) LDAA #$70
CMPA #$85
BLO OVER
INCA
ADDA #$2
OVER
85>70 Skip
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.