mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-21 02:28:05 +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
176 B
Plaintext
12 lines
176 B
Plaintext
( d i -- )
|
|
: OP3di
|
|
CREATE C,
|
|
DOES>
|
|
C@ ( d n op )
|
|
ROT ( n op d )
|
|
<<4 ( n op d<<4 )
|
|
OR A,
|
|
A,,
|
|
;
|
|
0x01 OP3di LDdi,
|