mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 13:18:04 +11:00
1094ec9c57
DO and LOOP now only compile words from stable ABI, which make them suitable for xcomp. This will greatly simplify driver writing and allow us to mostly avoid the low/high divide in drivers. LEAVE is still xcomp-incompatible though. This make us very very tight for "<0x100" limit for literal words. Hopefully, we won't need more stuff in that area of the binary...
17 lines
408 B
Plaintext
17 lines
408 B
Plaintext
Instructions list
|
|
|
|
r => A B C D E H L (HL)
|
|
ss/qq => BC DE HL AF/SP
|
|
cc => CNZ CZ CNC CC CPO CPE CP CM
|
|
|
|
LD [rr, rn, ddnn, (nn)HL, HL(nn), dd(nn), (nn)dd, rIXY, IXYr,
|
|
(DE)A, A(DE)]
|
|
ADD [r, n, HLss, IXss, IXIX, IYss, IYIY]
|
|
ADC [r, HLss]
|
|
CP [r, n, (IXY+)]
|
|
SBC [r, HLss]
|
|
SUB [r, n]
|
|
PUSH [qq] POP [qq]
|
|
INC [r, ss, (IXY+)] DEC [r, ss, (IXY+)]
|
|
AND [r, n] OR [r, n] XOR [r, n] (cont.)
|