Comment on REG_SP and REG_AF both being 3

No instruction needs to distinguish them both
This commit is contained in:
Rangi
2021-03-31 18:41:42 -04:00
parent 39c38f9838
commit 310d34c655

View File

@@ -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
}; };