beautypg.com

Echelon Neuron User Manual

Page 72

background image

BRZ

Branch if zero

DBRNZ

Decrement and branch if not zero

SBRNZ

Short branch if not zero

SBRZ

Short branch if zero

Unconditional Program Control Operations

ADD_R

Add and return

AND_R

And and return

BR

Branch

BRF

Branch far

CALL

Call near

CALLF

Call far

CALLR

Call relative

DEALLOC

Deallocate and return

DROP_R

Drop from stack and return

OR_R

Or and return

RET

Return from call

SBR

Short branch

XOR_R

Exclusive or and return

Other Operations

NOP

No operation

The following sections describe each of the Neuron Assembler instructions. The

description for each instruction includes a table with the following information:

The hexadecimal representation of the instruction’s opcode

The opcode is the part of a machine instruction that informs the processor

of the type of operation to be performed and the type of data to be used.

The first byte of an instruction is its opcode, and remaining bytes are its

data. Some Neuron machine instructions have variable opcodes because

data is included in the opcode so that the instruction’s size can be as

small as possible.

The size of the instruction, in bytes

Each machine instruction requires either one, two, or three bytes of

62

Neuron Assembly Language Instruction Statements