mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
More WRAM label cleanup (still needs UNIONs and renaming)
This commit is contained in:
parent
5c73cffee6
commit
f9ae7b1240
9 changed files with 308 additions and 583 deletions
|
|
@ -35,16 +35,16 @@ Predef::
|
|||
GetPredefRegisters::
|
||||
; Restore the contents of register pairs
|
||||
; when GetPredefPointer was called.
|
||||
ld a, [wPredefRegisters + 0]
|
||||
ld a, [wPredefHL]
|
||||
ld h, a
|
||||
ld a, [wPredefRegisters + 1]
|
||||
ld a, [wPredefHL + 1]
|
||||
ld l, a
|
||||
ld a, [wPredefRegisters + 2]
|
||||
ld a, [wPredefDE]
|
||||
ld d, a
|
||||
ld a, [wPredefRegisters + 3]
|
||||
ld a, [wPredefDE + 1]
|
||||
ld e, a
|
||||
ld a, [wPredefRegisters + 4]
|
||||
ld a, [wPredefBC]
|
||||
ld b, a
|
||||
ld a, [wPredefRegisters + 5]
|
||||
ld a, [wPredefBC + 1]
|
||||
ld c, a
|
||||
ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue