Comment that farcall and callfar are interchangable (#1209)

Fixes #1208
This commit is contained in:
Rangi
2025-12-01 13:57:09 -05:00
committed by GitHub
parent 95f3d3c092
commit a79cbbc975

View File

@@ -1,5 +1,9 @@
; Far calls to another bank
; There is no difference between `farcall` and `callfar`, except the arbitrary
; order in which they set `a` and `hl` before calling `FarCall`.
; We use the more natural name "farcall" for the more common order.
MACRO farcall ; bank, address
ld a, BANK(\1)
ld hl, \1