mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 18:58:09 +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.
10 lines
171 B
Plaintext
10 lines
171 B
Plaintext
: OP2ri ( r i -- )
|
|
CREATE C,
|
|
DOES>
|
|
C@ ( r i op )
|
|
ROT ( i op r )
|
|
<<3 ( i op r<<3 )
|
|
OR A, A,
|
|
;
|
|
0x06 OP2ri LDri,
|