From 606f7c097b8181d9823f05ba43f7e5488768d50e Mon Sep 17 00:00:00 2001 From: Madeline Cronin Date: Mon, 2 Sep 2024 21:25:53 +0100 Subject: [PATCH] Clarify division by 0 behaviour. Clarifies that division by 0 is a no-op on the main registers. --- ISA_spec.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ISA_spec.txt b/ISA_spec.txt index 1f3c4ac..e8071cc 100644 --- a/ISA_spec.txt +++ b/ISA_spec.txt @@ -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 -- 2.43.4