beautypg.com

Echelon Neuron User Manual

Page 113

background image

base page register (BP) into NEXT on the data stack. This instruction

modifies NEXT but preserves TOS.

The PUSH instruction applies to Series 3100, 5000, and 6000 devices.

Syntax:
The PUSH instruction requires one or two operands to specify which data stack

value to pop and the location into which to store the value:

PUSH [0][offset]

PUSH [1][offset]

PUSH [2][offset]

PUSH [3][offset]

PUSH [0][TOS]

PUSH [1][TOS]

PUSH [2][TOS]

PUSH [3][TOS]

PUSH FLAGS

PUSH RSP

PUSH DSP

PUSH [DSP][-8]

PUSH [DSP][-7]

PUSH [DSP][-6]

PUSH [DSP][-5]

PUSH [DSP][-4]

PUSH [DSP][-3]

PUSH [DSP][-2]

PUSH [DSP][-1]

PUSH address

PUSH TOS

PUSH NEXT

PUSH #number

PUSH !8

PUSH !9

PUSH !10

PUSH !11

PUSH !12

PUSH !13

PUSH !14

PUSH !15

PUSH !16

PUSH !17

PUSH !18

PUSH !19

PUSH !20

PUSH !21

PUSH !22

PUSH !23

Neuron Assembly Language Reference

103