diff options
| author | 2023-02-12 20:45:51 +0000 | |
|---|---|---|
| committer | 2023-02-12 20:45:51 +0000 | |
| commit | 472667e87b5481cab0a44448c91629cee425300a (patch) | |
| tree | c828e62dc49d056e731f63570821df0272ece237 /README.md | |
| parent | test all (diff) | |
README.md: update
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -13,15 +13,20 @@ suceeding pseudo-UTF-8 character is encoded as follows: * `1111110H 10HHHxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx` * `11111110 10HHHHxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx` -The first four bytes determine the type: - -* `0`: Value is a register. -* `1`: Value is immediate. +The first four bytes determine the type. The LSB high bit determines +if the encoded value is a register (`0001`) or immediate (`0010`). +The second bit from LSB determines if the value should be treated +as a signed 32 bit two's compliment number (`001X`) or should be +treated as an unsigned 32 bit number (`000X`). All other values are reserved. Overlong values are allowed, and for some argument values they are necessary. All lines are terminated by a byte of all zeros. +## Assembler + +The macro assembler is Python (see the asm directory). + ## Design Philsophy Creole is small but not minimal. It is easy to add instructions, and |
