quick question about BANK() #1261
Closed
starleaf-luna
started this conversation in
Discussions
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
so BANK(x) returns the bank of x, correct? what if MBC5 is used and x is in bank $100-$1ff, and the code used is
ld a,BANK(x)
or loading to another bank? I expecta
will contain the lowest 8 bits of the bank no., but where will the 9th bit be stored? (in carry?)edit: tried it;
Value 0x1fe is not 8-bit
...Beta Was this translation helpful? Give feedback.
All reactions