README.md: update

This commit is contained in:
Peter McGoron 2023-02-12 20:45:51 +00:00
parent e537d927a1
commit 472667e87b
1 changed files with 9 additions and 4 deletions

View File

@ -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