JAP: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(JAP instruction)
 
m (Minor grammar fixes)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|Format=JAP <[[displacement|disp.]]>''
|Format=JAP <[[displacement|disp.]]>''
|Code=130&nbsp;000
|Code=130&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]]
}}
}}


'''JAP''' is an assembly instruction. If the [[A register]] is positive or zero (bit 15 = 0), 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.
'''JAP''' is an assembly instruction. If the [[A register]] is positive or zero (bit 15 = 0), it jumps the program execution to the address of the [[program counter]] (P register) plus the value of [[displacement]] which can be between -128 to 127. Else it continues the program execution at (P) + 1.


== References ==
== References ==

Latest revision as of 15:28, 27 February 2019

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

JAP is an assembly instruction. If the A register is positive or zero (bit 15 = 0), it jumps the program execution to the address of the program counter (P register) plus the value of displacement which can be between -128 to 127. Else it continues the program execution at (P) + 1.

References