mirror of
https://github.com/mlaux/gb6.git
synced 2024-06-02 04:42:01 +00:00
23 lines
282 B
NASM
23 lines
282 B
NASM
|
section "main", rom0
|
||
|
|
||
|
nop
|
||
|
ld b, $0
|
||
|
ld c, $11
|
||
|
ld d, $22
|
||
|
ld e, $33
|
||
|
ld h, $44
|
||
|
ld l, $55
|
||
|
ld [hl], $66
|
||
|
ld a, $77
|
||
|
ld bc, $0123
|
||
|
ld de, $4567
|
||
|
ld hl, $89ab
|
||
|
ld sp, $cdef
|
||
|
simple_loop:
|
||
|
dec a
|
||
|
jr nz, simple_loop
|
||
|
|
||
|
end:
|
||
|
jr end
|
||
|
|
||
|
db $fd
|