Compare length of two strings: Difference between revisions
m
→{{header|Z80 Assembly}}: minor optimizations
Puppydrum64 (talk | contribs) m (→{{header|Z80 Assembly}}: Added output) |
Puppydrum64 (talk | contribs) m (→{{header|Z80 Assembly}}: minor optimizations) |
||
Line 100:
rrca
endif
call nz,PrintHexChar
;if top nibble of A is zero, don't print it.
pop af
and %00001111
ret z ;if bottom nibble of A is zero, don't print it!
call PrintHexChar
|