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 Rangi
parent d80786f4e8
commit 8d34a9b74e

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