P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
JnzW<n>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  JnzW<n>
 
  /* Branch on Not Zero */
 
  Possible Instructions
 
  JnzW1...JnzW5, JnzWb
 
  See: P-Code Operands
 
  Description
 
  Pops the top element off the stack and checks whether or not it is equal
  to zero. If it is not equal to zero, control jumps ahead <n> bytes or to
  location S. Otherwise control continues with the next instruction.
 
  Pseudocode equivalent:
 
  if (popW() != 0)
  pc += <n>;
 
  This instruction is generated by the following example:
 
  if (wTest == 0)               /* generates JnzW<n> */
 
 
                                     -♦-