mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-10 09:38:06 +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
359 B
Plaintext
10 lines
359 B
Plaintext
: OP2 CREATE , DOES> @ 256 /MOD A, A, ;
|
|
0xeda1 OP2 CPI, 0xedb1 OP2 CPIR,
|
|
0xeda9 OP2 CPD, 0xedb9 OP2 CPDR,
|
|
0xed46 OP2 IM0, 0xed56 OP2 IM1,
|
|
0xed5e OP2 IM2,
|
|
0xeda0 OP2 LDI, 0xedb0 OP2 LDIR,
|
|
0xeda8 OP2 LDD, 0xedb8 OP2 LDDR,
|
|
0xed44 OP2 NEG,
|
|
0xed4d OP2 RETI, 0xed45 OP2 RETN,
|