Keil Logo

JNZ

The JNZ instruction transfers control to the specified address if the value in the accumulator is not 0. If the accumulator has a value of 0, the next instruction is executed. Neither the accumulator nor any flags are modified by this instruction.

See Also: JZ

JNZ offset
C AC F0 RS1 RS0 OV   P
Bytes 2
Cycles 2
Encoding
01110000 offset
Operation
JNZ
PC = PC + 2
IF A <> 0
  PC = PC + offset
Example
JNZ LABEL
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.