beautypg.com

Overview of the assembly language instructions – Echelon Neuron User Manual

Page 70

background image

Overview of the Assembly Language Instructions

The Neuron assembly language provides instruction statements that control the

functionality of the function or program. This chapter describes the Neuron

assembly instructions that are supported by the Neuron Assembler.
Table 9 lists the Neuron assembly language instructions, grouped by general

function: arithmetic operations, logical operations, shift and rotate operations,

stack manipulation, conditional program control operations, unconditional

program control operations, and other operations. Some instructions appear in

more than one group because they perform more than one function.

Table 9. Neuron Assembly Instructions

Arithmetic Operations

ADC

Add with carry

ADD

Add

ADD_R

Add and return

DBRNZ

Decrement and branch if not zero

DEC

Decrement

DIV

Divide

INC

Increment

MUL

Multiply

SBC

Subtract with carry

SUB

Subtract

Logical Operations

AND

And

AND_R

And and return

NOT

Not

OR

Or

OR_R

Or and return

XOR

Exclusive or

XOR_R

Exclusive or and return

60

Neuron Assembly Language Instruction Statements