mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 05:58:05 +11:00
22c7eeaa5d
This 'apps' folder is going to disappear. Everything is going to be a "part" to be assembled through recipes. 'apps' has no meaning.
20 lines
210 B
NASM
20 lines
210 B
NASM
; test local labels
|
|
addDE:
|
|
push af
|
|
add a, e
|
|
jr nc, .end ; no carry? skip inc
|
|
inc d
|
|
.end: ld e, a
|
|
pop af
|
|
ret
|
|
|
|
addHL:
|
|
push af
|
|
add a, l
|
|
jr nc, .end ; no carry? skip inc
|
|
inc h
|
|
.end:
|
|
ld l, a
|
|
pop af
|
|
ret
|