JAZ: Difference between revisions

From NDWiki
Jump to navigation Jump to search
m (Minor grammar changes)
(Register notation uniformity fix)
 
Line 4: Line 4:
|Format=JAZ <[[displacement|disp.]]>''
|Format=JAZ <[[displacement|disp.]]>''
|Code=131&nbsp;000
|Code=131&nbsp;000
|Affected=If A=0 (P):=(P)+&Delta;  
|Affected=If A=0 P:=P+&Delta;  
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]]
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]]
}}
}}

Latest revision as of 08:42, 21 March 2013

JAZ
Description Jump if A is zero
Format JAZ <disp.>
Code 131 0008
Affected If A=0 P:=P+Δ
Type User
Architecture ND-100, ND-110

JAZ is an assembly instruction. If the A register is zero it jumps the program execution to the address of the program counter (P register) plus the value of displacement, which can be in the range -128 .. 127. Else it continues the program execution at (P) + 1.

References