JAF: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(JAF instruction)
 
(Register notation uniformity fix)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
|Format=JAF <[[displacement|disp.]]>''
|Format=JAF <[[displacement|disp.]]>''
|Code=131&nbsp;400
|Code=131&nbsp;400
|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]]
}}
}}


'''JAF''' is an assembly instruction. If the [[A register]] is not zero, it jump the program execution to the address of the [[program counter]] (P register) plus the value of [[displacement]], that can be between -128 to 127. Else it continue the program execution at (P) + 1.
'''JAF''' is an assembly instruction. If the [[A register]] is not 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 ==
== References ==

Latest revision as of 08:40, 21 March 2013

JAF
Description Jump if A filled (not zero)
Format JAF <disp.>
Code 131 4008
Affected If A<>0 P:=P+Δ
Type User
Architecture ND-100, ND-110

JAF is an assembly instruction. If the A register is not 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