mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-03 10:45:37 +00:00
Add test for LOAD
This commit is contained in:
1 parent
cdabc057a0
commit
02ea52f453
4 files changed
+23
No files matched your search
@@ -0,0 +1,20 @@
|
||||
SECTION "test", ROM0[1]
|
||||
call Target
|
||||
LOAD "new", WRAM0[$C001]
|
||||
Target: dl $DEADBEEF
|
||||
.end
|
||||
ENDL
|
||||
After:
|
||||
jp Target
|
||||
ld hl, Word
|
||||
dw Byte, Target.end, After
|
||||
|
||||
SECTION "ram test", WRAM0 ; Should end up at $C005
|
||||
Word:
|
||||
dw
|
||||
|
||||
SECTION "small ram test", WRAM0 ; Should end up at $C000
|
||||
Byte:
|
||||
db
|
||||
|
||||
PRINTT "{Target}\n{Target.end}\n{After}\n"
|
||||
Whitespace-only changes.
@@ -0,0 +1,3 @@
|
||||
$C001
|
||||
$C005
|
||||
$8
|
||||
Binary file not shown.
Reference in new issue
Block a user