From 574d8788bc56a08b05b057e6e5add0e065a1f630 Mon Sep 17 00:00:00 2001 From: Madeline Cronin Date: Fri, 30 Aug 2024 22:00:04 +0100 Subject: [PATCH] Clarify the condition flag behaviour. --- ISA_spec.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ISA_spec.txt b/ISA_spec.txt index 52c8413..c67215f 100644 --- a/ISA_spec.txt +++ b/ISA_spec.txt @@ -1,4 +1,4 @@ -Maddie's test ISA Version 1.0.5 +Maddie's test ISA Version 1.0.6 Table of contents: @@ -42,11 +42,12 @@ behaviour is to occur. ABab----|--------|--------|-------- AB = Activation Flags ab = Condition Flags -There is a 2 bit register in the CPU which stores the state of A and B, and is -updated by certain instructions. -When an activation flag is set, the corresponding condition bit must match its -condition flag in order for the instruction to be executed. +There is a single 2-bit register in the CPU +(A=1) The instruction will only execute if the first bit in that register +matches a. +(B=1) The instruction will only execute if the second bit in that register +matches b. - Instruction Categories: ----XXXX|--------|--------|--------- XXXX= -- 2.43.4