~maddie/custom-processor-specification

574d8788bc56a08b05b057e6e5add0e065a1f630 — Madeline Cronin 20 days ago 28bc383
Clarify the condition flag behaviour.
1 files changed, 6 insertions(+), 5 deletions(-)

M ISA_spec.txt
M ISA_spec.txt => ISA_spec.txt +6 -5
@@ 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=