~maddie/custom-processor-specification

606f7c097b8181d9823f05ba43f7e5488768d50e — Madeline Cronin 3 months ago 0ef5f41
Clarify division by 0 behaviour.
Clarifies that division by 0 is a no-op on the main registers.
1 files changed, 1 insertions(+), 0 deletions(-)

M ISA_spec.txt
M ISA_spec.txt => ISA_spec.txt +1 -0
@@ 141,6 141,7 @@ Writes the value denoted by x's to the register of index RRRRR
Arithmetic:
Addition, subtraction, multiplications, and integer division all take 3
operands, and operate on the described registers in the order of 3 = 1 (+-x/) 2
Division by 0 is a no-op except for optionally setting a condition flag

Logical:
All logical operations take 3 operands, and operate on the described registers