mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 05:18:05 +11:00
73623fff53
it seems I left my asm argument harmonization half done here. Instructions list at B208 doesn't correspond to many actual mnemonics. This mnemonic here was the worst offender.
15 lines
206 B
Plaintext
15 lines
206 B
Plaintext
: LDd(n), ( d n -- )
|
|
0xed A,
|
|
SWAP <<4 0x4b OR A,
|
|
A,,
|
|
;
|
|
: LD(n)d, ( n d -- )
|
|
0xed A,
|
|
<<4 0x43 OR A,
|
|
A,,
|
|
;
|
|
: RST, 0xc7 OR A, ;
|
|
|
|
: JP(IX), IX DROP JP(HL), ;
|
|
: JP(IY), IY DROP JP(HL), ;
|