Home
Random
Watchlist
Settings
Log in
About CPCWiki - THE Amstrad CPC encyclopedia!
Disclaimers
Open main menu
Changes
Programming:Display and update Scores
66 bytes added
,
23:29, 20 September 2007
/* Multiple BCD Bytes */
ld hl,score + 2
ld a,(hl)
sub c
daa
ld (hl),a
ret nc
.add_loop
dec hl
ld a,(hl)
sub 0
daa
ld (hl),a
djnz add_loop
ret
</pre>
← Older edit
Newer edit →
Executioner
151
edits