beautypg.com

Echelon Neuron User Manual

Page 232

background image

add16s function, 161

address expression, 14

addressing mode

absolute, 30

BP indexed, 33

BP relative, 32

direct, 30

DSP relative, 32

immediate, 30

implicit, 31

indirect, 33

indirect indexed, 32

indirect relative, 31

pointer direct, 31

relative addressing, 33

alloc function, 162

ALLOC instruction, 67

AND instruction, 68

AND_R instruction, 69

and16 function, 163

APEXP directive, 134

architecture, 16

arrays, 52

assembling, 43

B

big endian, 17

binary operator, 12

bitfields, 52

BP indexed addressing mode, 33

BP relative addressing mode, 32

BR instruction, 70

BRC instruction, 71

BRF instruction, 72

BRNC instruction, 73

BRNEQ instruction, 74

BRNZ instruction, 76

BRZ instruction, 77

C

CALL instruction, 78

CALLF instruction, 79

calling convention, 49

calling Neuron C functions, 52

CALLR instruction, 80

characters, 51

checksum example, 56

command-line tool, 3

comment, 14

constant expression, 13

D

data representation, 51

data stack, 22

data stack register, 22

data, global or static, 29

DATA.B directive, 135

DBRNZ instruction, 81

dealloc function, 163

DEALLOC instruction, 82

debugging, 44

DEC instruction, 84

dec16 function, 163

direct addressing mode, 30

directives

APEXP, 134

DATA.B, 135

ELSE, 137

END, 138

ENDIF, 139

EQU, 140

ERROR, 141

EXPORT, 142

IF, 143

IFDEF, 144

IFNDEF, 145

IMPORT, 146

INCLUDE, 147

LIBRARY, 148

LIST, 150

NOLIST, 151

ORG, 152

overview, 14, 132

PAGE, 153

RADIX, 154

RES, 155

RESOURCE, 156

SEG, 157

SUBHEAD, 158

displacement, 13

DIV instruction, 85

div16 function, 164

div16s function, 164

div8 function, 165

div8s function, 165

DROP instruction, 86

drop_n function, 165

drop_n_preserve_1 function, 166

drop_n_preserve_2 function, 166

drop_n_return_1 function, 166

drop_n_return_2 function, 167

DROP_R instruction, 87

DSP, 22

DSP relative addressing mode, 32

E

ELSE directive, 137

END directive, 138

ENDIF directive, 139

EQU directive, 140

equal16 function, 167

equal8 function, 168

ERROR directive, 141

example, 56

222

Index