Base 16 numbers needing a to f: Difference between revisions

m
→‎{{header|68000 Assembly}}: Fixed branch typos.
m (→‎{{header|68000 Assembly}}: Fixed branch typos.)
Line 47:
 
CMP.B #$0A,D2 ;compare to $0A
BCCBCS dontPrintThis ;if less than, don't print D0 to the screen.
CMP.B #$0A,D3
bccBCS dontPrintThis ;repeat the comparison for each nibble.
CMP.B #$0A,D4
bccBCS dontPrintThis
CMP.B #$0A,D5
bccBCS dontPrintThis
 
JSR printD0 ;unimplemented printing routine.
Line 61:
ADDQ.W #1,D0
CMP.W #501,D0
BCCBCS loop
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1,489

edits