mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Comment on REG_SP and REG_AF both being 3
No instruction needs to distinguish them both
This commit is contained in:
@@ -392,6 +392,7 @@ enum {
|
|||||||
REG_BC = 0,
|
REG_BC = 0,
|
||||||
REG_DE = 1,
|
REG_DE = 1,
|
||||||
REG_HL = 2,
|
REG_HL = 2,
|
||||||
|
// LD/INC/ADD/DEC allow SP, PUSH/POP allow AF
|
||||||
REG_SP = 3,
|
REG_SP = 3,
|
||||||
REG_AF = 3
|
REG_AF = 3
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user