beautypg.com

Echelon Neuron User Manual

Page 8

background image

IFNDEF (Conditional Assembly) .............................................................. 145

IMPORT (Import External Symbol) ......................................................... 146

INCLUDE (Assembly Control) .................................................................. 147

LIBRARY (Include Library) ...................................................................... 148

LIST (Listing Control) ............................................................................... 150

NOLIST (Listing Control).......................................................................... 151

ORG (Segment Control) ............................................................................. 152

PAGE (Listing Control) ............................................................................. 153

RADIX (Default Radix) .............................................................................. 154

RES (Reserve Uninitialized Memory) ....................................................... 155

RESOURCE (Resource Control)................................................................ 156

SEG (Segment Control) ............................................................................. 157

SUBHEAD (Listing Control) ..................................................................... 158

System-Provided Functions ....................................................................... 159

Overview of the Functions ......................................................................... 160

_abs16 (Absolute Value, 16 Bit) ................................................................ 160

_abs8 (Absolute Value, 8 Bit) .................................................................... 161

_add16 (Add, 16 Bit) .................................................................................. 161

_add16s (Add Signed, 16 Bit) .................................................................... 161

_add_8_16f (Add Fast, 8 Bit to 16 Bit) ...................................................... 162

_adds_8_16 (Add Signed, 8 Bit to 16 Bit) ................................................. 162

_alloc (Allocate Stack Space) ..................................................................... 162

_and16 (And, 16 Bit) .................................................................................. 163

_dealloc (Deallocate Stack Space and Return) ......................................... 163

_dec16 (Decrement, 16 Bit) ........................................................................ 163

_div16 (Divide, 16 Bit) ............................................................................... 164

_div16s (Divide Signed, 16 Bit) ................................................................. 164

_div8 (Divide, 8 Bit) ................................................................................... 165

_div8s (Divide Signed, 8 Bit) ..................................................................... 165

_drop_n (Drop N Bytes from Stack) .......................................................... 165

_drop_n_preserve_1 (Drop N Bytes from Stack and Preserve NEXT) ... 166

_drop_n_preserve_2 (Drop N Bytes from Stack and Preserve NEXT and NEXT+1)

..................................................................................................................... 166

_drop_n_return_1 (Drop N Bytes from Stack, Preserve NEXT, and Return) 166

_drop_n_return_2 (Drop N Bytes from Stack, Preserve NEXT and NEXT+1, and

Return) ........................................................................................................ 167

_equal16 (Equality Test, 16 Bit) ............................................................... 167

_equal8 (Equality Test, 8 Bit) ................................................................... 168

_gequ16s (Greater Than or Equal Signed, 16 Bit) ................................... 168

_gequ8 (Greater Than or Equal, 8 Bit) ..................................................... 168

_gequ8s (Greater Than or Equal Signed, 8 Bit) ....................................... 169

_get_sp (Get Stack Pointer) ....................................................................... 169

_inc16 (Increment, 16 Bit) ......................................................................... 169

io_iaccess (Acquire Semaphore) ................................................................ 170

io_iaccess_wait (Acquire Semaphore and Wait) ....................................... 170

io_irelease (Release Semaphore) ............................................................... 171

_l_shift16 (Left Shift, 16 Bit) ..................................................................... 172

_l_shift16s (Left Shift Signed, 16 Bit)....................................................... 172

_l_shift8 (Left Shift, 8 Bit) ......................................................................... 172

_l_shift8s (Left Shift Signed, 8 Bit) ........................................................... 173

_l_shift8_ (Left Shift by , 8 Bit) .................................................... 173

_ldP0_fetchl (Load P0 from Fetched Location) ........................................ 173

_less16 (Less Than, 16 Bit) ........................................................................ 174

viii