mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 03:38:08 +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.
9 lines
268 B
Plaintext
9 lines
268 B
Plaintext
CREATE ORG 0 ,
|
|
CREATE BIN( 0 ,
|
|
VARIABLE L1 VARIABLE L2 VARIABLE L3 VARIABLE L4
|
|
: A 7 ; : B 0 ; : C 1 ; : D 2 ;
|
|
: E 3 ; : H 4 ; : L 5 ; : (HL) 6 ;
|
|
: BC 0 ; : DE 1 ; : HL 2 ; : AF 3 ; : SP AF ;
|
|
: CNZ 0 ; : CZ 1 ; : CNC 2 ; : CC 3 ;
|
|
: CPO 4 ; : CPE 5 ; : CP 6 ; : CM 7 ;
|