* SMS2 - Maths operations
*
* This file - SMS11_in - contains the arithmetic interpreter operation codes
*
          nolist

ri.end    equ    $00          END of multiple operation
qa.nint   equ    $02          round fp to Nearest INTeger
qa.int    equ    $04          truncate fp to INTeger
qa.nlint  equ    $06          round fp to Nearest Long INTeger
qa.float  equ    $08          FLOAT integer
qa.add    equ    $0a          ADD top of stack to next on stack
qa.sub    equ    $0c          SUBtract tos from nos
qa.mul    equ    $0e          MULtiply tos by nos
qa.div    equ    $10          DIVide tos into nos
qa.abs    equ    $12          ABSolute value
qa.neg    equ    $14          NEGate
qa.dup    equ    $16          DUPlicate
qa.cos    equ    $18          COSine
qa.sin    equ    $1a          SINe
qa.tan    equ    $1c          TANgent
qa.cot    equ    $1e          COTangent
qa.asin   equ    $20          ArcSINe
qa.acos   equ    $22          ArcCOSine
qa.atan   equ    $24          ArcTANgent
qa.acot   equ    $26          ArcCOTangent
qa.sqrt   equ    $28          SQuare RooT
qa.log    equ    $2a          LOG - natural
qa.l10    equ    $2c          Log - base 10
qa.exp    equ    $2e          EXPonential
qa.pwrf   equ    $30          raise to PoWeR Floating point - nos to power of tos
*
qa.maxop  equ    $30
*
qa.load   equ    $00          load operand key  (clears bit 0)
qa.stor   equ    $01          store operand key (sets bit 0)

          list
