Update readme
This commit is contained in:
parent
9d0b798c20
commit
7edc6f7582
18
README.md
18
README.md
@ -231,14 +231,28 @@ Branch to address of label if **O-flag** is 0.
|
|||||||
Define a compile-time constant. This will replace all (valid) constant
|
Define a compile-time constant. This will replace all (valid) constant
|
||||||
declarations with the given name with the value supplied here.
|
declarations with the given name with the value supplied here.
|
||||||
|
|
||||||
|
**NOTE**: Constant names are case-insensitive; i.e. *FOO* and *foo* are
|
||||||
|
functionally indistinguishable to the compiler.
|
||||||
|
|
||||||
|
|
||||||
### \#data \[address] [const]
|
### \#data \[address] [const]
|
||||||
Define an initial value in the program memory at the given address.
|
Define an initial value in the program memory at the given address.
|
||||||
|
|
||||||
|
### $[label]
|
||||||
|
Define a compile-time label at the given position in the microprogram. Labels
|
||||||
|
can be referenced using an '@' symbol.
|
||||||
|
|
||||||
|
For example: *$BAR* would declare a label *BAR* which can be referenced with
|
||||||
|
*@BAR*.
|
||||||
|
|
||||||
|
**NOTE**: Label names are case-insensitive; i.e. *@FOO* and *@foo* are
|
||||||
|
functionally indistinguishable to the compiler.
|
||||||
|
|
||||||
|
|
||||||
## Flags
|
## Flags
|
||||||
Flags - *aside from L* - are set based on ALU operations, so they depend on
|
Flags - *aside from L* - are set based on ALU operations, so they depend on
|
||||||
**AR** and the **BUS**. Unless otherwise implied or stated, **AR** refers to
|
**AR** and the **BUS**. Henceforth, unless otherwise implied or stated, **AR**
|
||||||
the state/value of **AR** *after* an ALU operation.
|
will refer to the state/value of **AR** *after* an ALU operation.
|
||||||
|
|
||||||
### Z
|
### Z
|
||||||
Set if **AR** == **BUS**
|
Set if **AR** == **BUS**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user