From 28bc3834422f7a28042b481cacf1762a5fce8dc3 Mon Sep 17 00:00:00 2001 From: Madeline Cronin Date: Wed, 28 Aug 2024 03:33:14 +0100 Subject: [PATCH] Clarified unknown opcode behaviour. Specified that unknown opcodes are to be treated as a halt instruction. --- ISA_spec.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ISA_spec.txt b/ISA_spec.txt index 20eefc4..52c8413 100644 --- a/ISA_spec.txt +++ b/ISA_spec.txt @@ -1,4 +1,4 @@ -Maddie's test ISA Version 1.0.4 +Maddie's test ISA Version 1.0.5 Table of contents: @@ -24,7 +24,8 @@ also a 2 bit flags register for storing the condition flags. Behaviours: The only statefulness not directly controlled by programs is the interrupt toggle. Numbers are read as big endian. Hardware interrupts jump to -zero, and push the prior program counter to the stack. +zero, and push the prior program counter to the stack. Unknown opcodes are +treated as a halt. Versioning: The versioning of this ISA follows semantic versioning, although given how many breaking changes it is likely to go though, the major version -- 2.43.4