JAP

From NDWiki
Revision as of 17:32, 9 August 2009 by Mike (talk | contribs) (JAP instruction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 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.

References