Changes

68 bytes added ,  10:22, 24 November 2014
m
minifix + clarification
Line 441: Line 441:  
A number of format 2 instructions are executed conditionally. These conditions are based on two boolean registers which can be set with CMP : cmp.x and cmp.y.
 
A number of format 2 instructions are executed conditionally. These conditions are based on two boolean registers which can be set with CMP : cmp.x and cmp.y.
   −
Conditional instructions include 3 parameters : CONDOP, NEGX and NEGY. NEGX and NEGY determine whether the conditional expression will use cmp.x or !cmp.x, and cmp.y or !cmp.y respectively. CONDOP describes the actual expression. There are four conditional expression formats :
+
Conditional instructions include 3 parameters : CONDOP, NEGX and NEGY. NEGX and NEGY determine whether the conditional expression will use cmp.x or !cmp.x, and cmp.y or !cmp.y respectively (NEGX set means we use cmp.x, and NEGX not set means we use !cmp.x). CONDOP describes the actual expression. There are four conditional expression formats :
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 458: Line 458:  
|-
 
|-
 
|  0x2
 
|  0x2
 +
|  [!]cmp.X
 +
|  X
 +
|-
 +
|  0x3
 
|  [!]cmp.y
 
|  [!]cmp.y
 
|  Y
 
|  Y
|-
  −
|  0x3
  −
|  [!]cmp.x
  −
|  X
   
|}
 
|}
  
373

edits