beautypg.com

Echelon Neuron User Manual

Page 7

background image

BRNC (Branch If Not Carry) ....................................................................... 73

BRNEQ (Branch If Not Equal) .................................................................... 74

BRNZ (Branch If Not Zero) ......................................................................... 76

BRZ (Branch If Zero) .................................................................................... 77

CALL (Call Near) ......................................................................................... 78

CALLF (Call Far) ......................................................................................... 79

CALLR (Call Relative) ................................................................................. 80

DBRNZ (Decrement and Branch If Not Zero) ............................................ 81

DEALLOC (Deallocate and Return) ........................................................... 82

DEC (Decrement) ......................................................................................... 84

DIV (Divide) .................................................................................................. 85

DROP (Drop from Stack) ............................................................................. 86

DROP_R (Drop from Stack and Return) .................................................... 87

INC (Increment) ........................................................................................... 88

MUL (Multiply) ............................................................................................ 90

NOP (No Operation) ..................................................................................... 91

NOT (Not) ..................................................................................................... 92

OR (Or) .......................................................................................................... 93

OR_R (Or and Return) ................................................................................. 94

POP (Pop from Stack) .................................................................................. 95

POPD (Pop Pointer Direct) ........................................................................ 100

POPPUSH (Pop from Data Stack and Push onto Return Stack) ............ 101

PUSH (Push onto Stack)............................................................................ 102

PUSHD (Push Pointer Direct) ................................................................... 107

PUSHPOP (Pop from Return Stack and Push onto Data Stack) ............ 109

PUSHS (Push Short) .................................................................................. 110

RET (Return from Call) ............................................................................. 111

ROLC (Rotate Left through Carry) ........................................................... 112

RORC (Rotate Right through Carry) ........................................................ 113

SBC (Subtract with Carry) ........................................................................ 114

SBR (Short Branch) ................................................................................... 115

SBRNZ (Short Branch If Not Zero) ........................................................... 117

SBRZ (Short Branch If Zero) ..................................................................... 119

SHL (Shift Left) .......................................................................................... 121

SHLA (Shift Left Arithmetically) .............................................................. 122

SHR (Shift Right) ....................................................................................... 123

SHRA (Shift Right Arithmetically) ........................................................... 124

SUB (Subtract) ........................................................................................... 125

XCH (Exchange) ......................................................................................... 127

XOR (Exclusive Or) .................................................................................... 128

XOR_R (Exclusive Or and Return) ........................................................... 129

Neuron Assembler Directives .................................................................... 131

Overview of the Assembler Directives ...................................................... 132

APEXP (Application Symbol Export) ........................................................ 134

DATA.B (Reserve Initialized Memory) ..................................................... 135

ELSE (Conditional Assembly) ................................................................... 137

END (Assembly Control) ........................................................................... 138

ENDIF (Conditional Assembly) ................................................................ 139

EQU (Equate Symbol) ................................................................................ 140

ERROR (Conditional Assembly) ............................................................... 141

EXPORT (Export Symbol) ......................................................................... 142

IF (Conditional Assembly) ......................................................................... 143

IFDEF (Conditional Assembly) ................................................................. 144

Neuron Assembly Language Reference

vii