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.
JgeW<n>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  JgeW<n>
 
  /* Branch on Greater or Equal */
 
  Possible Instructions
 
  JgeW3, JgeWb
 
  See: P-Code Operands
 
  Description
 
  Pops two values off the stack and checks to see if the second is greater
  than or equal to the first. If it is, control jumps to location S.
  Otherwise processing continues with the next instruction.
 
  Pseudocode equivalent:
 
  w2 = popW();
  w1 = popW();
  if (w1 >= w2)
  pc += <n>;
 
  The following generates this instruction:
 
  if (w1 < w2)                  /* generates JgeW<n> */
 
 
                                     -♦-