JNC: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(JNC instruction)
 
(Register notation uniformity fix)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|Format=JNC <[[displacement|disp.]]>''
|Format=JNC <[[displacement|disp.]]>''
|Code=132&nbsp;400
|Code=132&nbsp;400
|Affected=(X):=(X)+1, If (X)<0 (P):=(P)+&Delta;  
|Affected=X:=X+1, If X<0 P:=P+&Delta;  
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]]
|Architecture=[[ND-100]], [[ND-110 CPU|ND-110]]
}}
}}


'''JNC''' is an assembly instruction. It increment the [[X register]] by one. If the X register is negative (bit 15 = 1), 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.
'''JNC''' is an assembly instruction. It increments the [[X register]] by one. If the X register is negative (bit 15 = 1), it jumps 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 continues the program execution at (P) + 1.


== References ==
== References ==

Latest revision as of 08:43, 21 March 2013

JNC
Description Count and jump if X register is negative.
Format JNC <disp.>
Code 132 4008
Affected X:=X+1, If X<0 P:=P+Δ
Type User
Architecture ND-100, ND-110

JNC is an assembly instruction. It increments the X register by one. If the X register is negative (bit 15 = 1), it jumps 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 continues the program execution at (P) + 1.

References