He gave these questions a. 13 is obviously the largest piece of data in the sample set. After 13 was stored in D0, what was the state of the CCR when another number was compared against it (just give the 5 bits and indicate which bits were triggered). b. What was the state of the CCR after the final piece of data (0) was moved into the D1 register.
*
ORG $400
MOVEA.L #DATA,A0
CLR.B D0
NEXT MOVE.B (A0),D1
BEQ EXIT
CMP.B D0,D1
BLE EndTest
MOVE.B D1,D0
EndTest ADDA.L #1,A0
BRA NEXT
EXIT STOP #$2700
*
ORG $1000
Data DC.B 12,13,5,6,4,8,4,10,0
END $400
I compiled it, but I don't see 5 bits in easy68k. I know ccr is made of flag bits but i'm not sure what to do.