JXN: Difference between revisions
Jump to navigation
Jump to search
(Register notation uniformity fix) |
m (Minor grammar fixes) |
||
Line 8: | Line 8: | ||
}} | }} | ||
'''JXN''' is an assembly instruction. If the [[X register]] is negative (bit 15 = 1), it | '''JXN''' is an assembly instruction. 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]], which can be between -128 to 127. Else it continues the program execution at (P) + 1. | ||
== References == | == References == |
Latest revision as of 11:14, 4 February 2019
JXN | |
---|---|
Description | Jump if X negative |
Format | JXN <disp.> |
Code | 133 4008 |
Affected | If X<0 P:=P+Δ |
Type | User |
Architecture | ND-100, ND-110 |
JXN is an assembly instruction. 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, which can be between -128 to 127. Else it continues the program execution at (P) + 1.
References
- Norsk Data Document ND–06.014.02 ND-100 REFERENCE MANUAL Page 139
- Norsk Data Document ND–06.029.01 ND-110 Instruction Set Page 80