mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-10 09:58:04 +11:00
91f79d1131
The idea is to consider assemblers as "runtime" apps instead of placing them in the "bootstrap" section of the blocks. These apps will be used for much more than bootstrapping. Moved its documentation to doc/asm.txt and made its code blocks more compact.
12 lines
189 B
Plaintext
12 lines
189 B
Plaintext
( i -- )
|
|
: OP3i
|
|
CREATE C,
|
|
DOES>
|
|
C@ A,
|
|
A,,
|
|
;
|
|
0xcd OP3i CALL,
|
|
0xc3 OP3i JP,
|
|
0x22 OP3i LD(i)HL, 0x2a OP3i LDHL(i),
|
|
0x32 OP3i LD(i)A, 0x3a OP3i LDA(i),
|