mul

Class: B

(legend)

Operand Stack Heap Condition Codes
  • Initial (operands):
    variable 1
    variable 2
  • Final (return values):
    variable

The heap is read if a variable is a location to determine which axis to multiply.

  • 1 = x
  • 2 = y
  • both otherwise

N/A

Description

Pops two variables off the stack and performs a multiplication. Valid parameters are:

If heap[11]=1, only consider the x-coordinate, else if heap[11]=2, only consider the y coordinate. Otherwise, consider both coordinates.



This page was last updated on December 7, 2005 5:18 AM.
This work is supported by the ONR MURI Project CONTESSA and the NSF under grant number CCR-9970939.