Echelon Neuron User Manual
Page 211

Mnemonic
Operand
Operation
Description
POP
[DSP][D]
[BP + DSP + D]= TOS
TOS = [DSP--]
IP = IP+1
Pop DSP relative with
displacement D.
Negative displacement ranging
from -1 to -8.
POPD
[PTR]
[BP + (PTR * 2) + 1]= TOS
[BP + (PTR * 2)] = [DSP--]
TOS = [DSP--]
IP = IP+1
Pop pointer (2 bytes) from data
stack into pointer PTR.
POPPUSH
[RSP--] = TOS
TOS = [DSP--]
IP = IP+1
Pops TOS and pushes it onto
top of return stack.
PUSH
absolute
address
[++DSP] = TOS
TOS = [absolute address]
IP = IP+3
Pushes 8-bit value at absolute
address onto TOS.
PUSH
#literal
[++DSP] = TOS
TOS = literal
IP = IP+2
Pushes literal onto data stack.
PUSH
!D
[++DSP] = TOS
TOS = [BP+D]
IP = IP+1
Pushes 8-bit value at BP plus
displacement address D onto
TOS.
Displacement range D is 8..23.
PUSH
!TOS
[++DSP] = [BP+TOS]
IP = IP+1
Pushes 8-bit value at BP plus
TOS address onto NEXT.
TOS unchanged.
PUSH
[DSP][D]
[DSP+1] = TOS
TOS = [BP + DSP + D]
DSP++
IP = IP+1
Push DSP relative with
displacement D.
Negative displacement D
ranges from -1 to -8.
PUSH
[RSP]
[++DSP] = TOS
TOS = [RSP+1]
IP = IP+1
Pushes 8-bit value at top of
return stack onto TOS.
The return stack is unchanged.
Neuron Assembly Language Reference
201