ADDSP 3 // adjust SP for rv, x, and flag PUSHIMM 3 // push value of 3 STOREOFF 1 // store the 3 in for x PUSHIMM 0 // push the value of 0 (false) STOREOFF 2 // store the 0 for flag PUSHOFF 1 // push the value stored in V[1+FBR] PUSHIMM 2 // push the value with to compare x GREATER // find Vbel > Vtop; push result to top JUMPC correct // is result of GREATER is true or false PUSHIMM 1 // false: push the value 0 (false) STOREOFF 2 // store the value false for flag JUMP continue // continue with remaining program correct: // true: PUSHIMM 1 // push the value 1 (true) STOREOFF 2 // store the value true for flag JUMP continue // continue with remaining program continue: // continue with program: PUSHOFF 2 // push the value of flag STOREOFF 0 // store the value of flag in rv ADDSP -2 // reset the SP STOP // done with the program