Test RGBLINK on SDCC object files (#1479)

This commit is contained in:
Sylvie
2024-08-20 17:51:01 -04:00
committed by GitHub
parent 57c3d74b9e
commit 82e81ab1da
14 changed files with 166 additions and 0 deletions

18
test/link/sdcc/good/a.asm Normal file
View File

@@ -0,0 +1,18 @@
SECTION "entry", ROM0[$0100]
jp start
SECTION "header", ROM0[$0104]
ds $150 - $104, 0
SECTION "start", ROM0
start:
ld de, 0
call _function0 ; bc <- 1
ld b, b ; breakpoint
ld d, b :: ld e, c ; de <- bc
call _function1 ; bc <- 3
ld b, b ; breakpoint
stop