Arguments: Name, Value, Modifies: None
Compiler directive. Used to reference an address to store a value.
Argument: Name, Modifies: None
Compiler directive. Used to reference an address midway through a program to jump to.
Argument: Value, Modifies: None
Compiler directive. Typically used to set the starting value of a variable.
Argument: None, Modifies: None
No operation. Does nothing, and waits one instruction cycle, typically five clock cycles.
Argument: Address, Modifies: Memory
Jump. Jumps to the given address.
Argument: Address, Modifies: Memory
Add. Adds the current values of the A register and B register and writes it to the given address.
Argument: Address, Modifies: Memory
Subtract. Subtracts the current values of the B register from the A register and writes it to the given address.
Argument: Address, Modifies: Memory
Store A. Stores the current value of the A register to the given address.
Argument: None, Modifies: B Register
A to B. Moves the content of the A register to the B register.
Argument: None, Modifies: A Register
Add to A. Adds the current value of the A register to the current value of the B register and stores it to the A register.
Argument: None, Modifies: B Register
Add to B. Adds the current value of the A register to the current value of the B register and stores it to the B register.
Argument: Address, Modifies: A Register
Load to A. WritesLoads the value at the given address to the the A register.
Argument: Address, Modifies: B Register
Load to B. Writes the value at the given address to the the B register.
Argument: Value, Modifies: A Register
Load Immediately to A. Loads the given value to the the A register.
Argument: Value, Modifies: B Register
Load Immediately to B. Loads the given value to the the B register.
Argument: Address, Modifies: None
Jump Zero. Jumps to the given address if the zero flag is set.
Argument: Address, Modifies: None
Jump Carry. Jumps to the given address if the carry flag is set.
Argument: Address, Modifies: Ouput
Output. Writes the value at the given address to the output register.
Argument: None, Modifies: None
Halt. Halts the processor and stops all execution.
;
Arguments: Comment, Modifies: None
Ignored. Anything following a semicolon is ignored by the compiler.