Changed BRZ behavior to chomp a test word from stack instead of checking PSW_Z bit.
[ned1] / docs / instruction_reference.md
index d8bc473..690623d 100644 (file)
@@ -4,7 +4,7 @@ NED - Instruction Reference
 Overview
 --------
 
 Overview
 --------
 
-Version: 1
+Version: 2
 
 Format A - Word
 ---------------
 
 Format A - Word
 ---------------
@@ -211,10 +211,9 @@ Description: Pops TOS and sets PSW flags accordingly.
     |      BRZ | 0 | 0 | 0 | 1 | 1 | 1 |
     +----------+---+---+---+---+---+---+
 
     |      BRZ | 0 | 0 | 0 | 1 | 1 | 1 |
     +----------+---+---+---+---+---+---+
 
-Operation: PC = TOS if PSW_Z = 0
+Operation: PC = TOS if NOS = 0
 Indicators: None
 Indicators: None
-Description: Pops TOS. If PSW_Z = 0, loads value in to PC, pushing old PC on to
-             TOS.
+Description: Pops TOS and NOS. If NOS = 0, loads TOS value in to PC.
 
 --------------------------------------------------------------------------------
 
 
 --------------------------------------------------------------------------------