semvec/pypi-packages huggingface dataset:
uzezau 0.1
CLI Web browser
Requires Python: >=3.6

# uzezau

Uzezau is a assembler for Uzezau computer.

# Running

Run `python3 -m asm inputfile image` for compiling.

# Syntax

- `label lbl` is define label `lbl`
- `goto lbl` is unconditional jump to lbl address
- `bzero lbl` means `goto lbl if A=0` command
- `add[wsli] n [a d]` is addition where n is an argument, a - RAM address, d - data loading to RAM if any flags are set
- `and[wsli] n [a d]` is conjunction where n is an argument, a - RAM address, d - data loading to RAM if any flags are set
- `orr[wsli] n [a d]` is disjunction where n is an argument, a - RAM address, d - data loading to RAM if any flags are set
- `not[wsli] [n a d]` is NOT operation where n is an argument for command (command uses A register if n is not set), a - RAM address, d - data loading to RAM if any flags are set

# Flags

- `W` flag is write to RAM permission. Uzezau PC ignores it if L is not set
- `S` flag sets the number to decode. This means `B = (S)?N:RAM[A];` in C.
- `L` flag is a permission to select data from RAM.
- `I` means `A = (I)?A:SWITCH;` in C.

Think you MUST **NOT** set them if you want to use them.

# Copyright

[Class UzezauError is based on class AssemblyError and is licensed under GNU GPLv3](https://github.com/imihajlow/ccpu/blob/master/tools/asm.py)