mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 21:48:08 +11:00
15 lines
215 B
Plaintext
15 lines
215 B
Plaintext
: LDdd(nn), ( dd nn -- )
|
|
0xed A,
|
|
SWAP <<4 0x4b OR A,
|
|
A,,
|
|
;
|
|
: LD(nn)dd, ( nn dd -- )
|
|
0xed A,
|
|
<<4 0x43 OR A,
|
|
A,,
|
|
;
|
|
: RSTn, 0xc7 OR A, ;
|
|
|
|
: JP(IX), IX DROP JP(HL), ;
|
|
: JP(IY), IY DROP JP(HL), ;
|