Many
Manuals
search
Categorias
Marcas
Principal
Echelon
Hardware
Neuron
Manual do Utilizador
Echelon Neuron Manual do Utilizador Página 11
Descarregar
Partilhar
Partilha
Adicionar aos meus manuais
Imprimir
Página
/
237
Índice
MARCADORES
Avaliado
.
/ 5. Com base em
avaliações de clientes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
1
Introduct
ion
This ch
apter
introduces
the
Neuron ass
embly language and
the Neuron A
ssem
bler.
Neuron Assemb
ly Language Reference
1
1
2
...
6
7
8
9
10
11
12
13
14
15
16
...
236
237
Neuron Assembly
1
Language Reference
1
Welcome
3
Audience
3
Related Documentation
3
Table of Contents
5
Introduction
11
Neuron Assembler Tools
13
Command Usage
14
NAS Command Switches
14
Neuron Librarian Tool
15
Assembler Files
16
Source Files
16
Naming Convention
16
File Format
17
Output Files
17
Assembly Instructions
19
Operands
20
Literal Constants
20
Symbols
21
Expressions
21
Constant Expressions
23
Comments
24
Assembler Directives
24
Assembly Programming
25
Neuron Architecture
26
CPU Registers
27
General-Purpose Registers
28
Pointer Registers
29
Flag Register
31
Instruction Pointer
31
Data Stack
32
Return Stack
33
Stack Manipulation
34
Segments
35
Using Neuron Chip Memory
36
Chips with Off-Chip Memory
36
Chips with Auto-tuned Memory
39
Addressing Modes
40
Immediate
40
Absolute
40
Implicit
41
Pointer Direct
41
Indirect Relative
41
Indirect Indexed
42
DSP Relative
42
BP Relative
43
BP Indexed
43
Indirect
43
Relative
43
Function
45
Stack-Effect Comments
51
Multi-Byte Values
51
Pointer Values
51
Conditional Values
51
Showing the Return Stack
52
Integrating the Program
52
Assembling the Program
53
Linking the Program
54
Debugging the Program
54
Interfacing with a Neuron C
57
Application
57
Overview
58
Naming Conventions
58
Function Parameters
58
Calling Conventions
59
Data Representation
61
Structures and Unions
62
Bitfields
62
Neuron Assembly Language
69
Instruction Statements
69
ADC (Add with Carry)
74
ADD (Add)
75
ADD_R (Add and Return)
76
ALLOC (Allocate)
77
AND (And)
78
AND_R (And and Return)
79
BR (Branch)
80
BRC (Branch If Carry)
81
BRF (Branch Far)
82
BRNC (Branch If Not Carry)
83
BRNEQ (Branch If Not Equal)
84
BRNZ (Branch If Not Zero)
86
BRZ (Branch If Zero)
87
CALL (Call Near)
88
CALLF (Call Far)
89
CALLR (Call Relative)
90
DEC (Decrement)
94
DIV (Divide)
95
DROP (Drop from Stack)
96
INC (Increment)
98
Done
99
MUL (Multiply)
100
NOP (No Operation)
101
NOT (Not)
102
OR (Or)
103
OR_R (Or and Return)
104
POP (Pop from Stack)
105
] DA 2 7 None
106
] D9 2 7 None
106
] DB 2 7 None
107
POPD (Pop Pointer Direct)
110
Return Stack)
111
PUSH (Push onto Stack)
112
PUSH [1][offset]
113
98 2 7 None
114
] 99 2 7 None
114
] 9A 2 7 None
114
] 9B 2 7 None
114
PUSHD (Push Pointer Direct)
117
Data Stack)
119
PUSHS (Push Short)
120
RET (Return from Call)
121
SBC (Subtract with Carry)
124
SBR (Short Branch)
125
SBRZ (Short Branch If Zero)
129
SHL (Shift Left)
131
SHR (Shift Right)
133
SUB (Subtract)
135
XCH (Exchange)
137
XOR (Exclusive Or)
138
Neuron Assembler Directives
141
ELSE (Conditional Assembly)
147
END (Assembly Control)
148
ENDIF (Conditional Assembly)
149
EQU (Equate Symbol)
150
ERROR (Conditional Assembly)
151
EXPORT (Export Symbol)
152
IF (Conditional Assembly)
153
IFDEF (Conditional Assembly)
154
INCLUDE (Assembly Control)
157
LIBRARY (Include Library)
158
LIST (Listing Control)
160
NOLIST (Listing Control)
161
ORG (Segment Control)
162
PAGE (Listing Control)
163
RADIX (Default Radix)
164
RESOURCE (Resource Control)
166
SEG (Segment Control)
167
SUBHEAD (Listing Control)
168
System-Provided Functions
169
Overview of the Functions
170
_add16 (Add, 16 Bit)
171
_add16s (Add Signed, 16 Bit)
171
-- value(2)+offset)
172
_and16 (And, 16 Bit)
173
_dec16 (Decrement, 16 Bit)
173
_div16 (Divide, 16 Bit)
174
_div8 (Divide, 8 Bit)
175
_get_sp (Get Stack Pointer)
179
_inc16 (Increment, 16 Bit)
179
_less16 (Less Than, 16 Bit)
184
_less8 (Less Than, 8 Bit)
184
_log8 (Logical Value, 8 Bit)
185
Bits to 16 Bits)
187
Converts 8 Bits to 16 Bits)
187
_max8 (Maximum Value, 8 Bit)
189
_memcpy (Copy Memory)
190
_memset (Set Memory)
190
_memset1 (Set Memory at P0)
191
_min8 (minimum Value, 8 Bit)
192
_mod8 (Modulo, 8 Bit)
193
_mul16 (Multiply, 16 Bit)
193
_mul8 (Multiply, 8 Bit)
194
_not16 (Not, 16 Bit)
196
_or16 (Or, 16 Bit)
197
16 Bit)
198
Offset, 16 Bit)
198
-- value, …, value, …)
199
NEXT, 16 Bit)
200
_sub16 (Subtract, 16 Bit)
203
Neuron Assembly Instructions
205
Listed by Mnemonic
205
Instructions by Mnemonic
206
Listed by Hexadecimal Opcode
217
Instructions by Opcode
218
1 2 7
224
Reserved Keywords
229
Keywords
230
Comentários a estes Manuais
Sem comentários
Publish
Manuais e produtos relacionados com Hardware Echelon Neuron
Hardware Echelon Neuron Manual do Utilizador
(180 páginas)
Hardware Echelon NodeLoad Utility Manual do Utilizador
(10 páginas)
Hardware Echelon NodeUtil Node Utility Manual do Utilizador
(40 páginas)
Hardware Echelon Lumewave CPD 3000 Lighting Controller Manual do Utilizador
(23 páginas)
Hardware Echelon LonWorks Twisted Pair Control Module Manual do Utilizador
(55 páginas)
Hardware Echelon FTXL Hardware Manual do Utilizador
(92 páginas)
Hardware Echelon FTXL Manual do Utilizador
(261 páginas)
Hardware Echelon LonPoint Application and Plug-In Manual do Utilizador
(191 páginas)
Hardware Echelon PCLTA Network Interface Manual do Utilizador
(24 páginas)
Hardware Echelon i.LON 10 Ethernet Adapter Manual do Utilizador
(1 páginas)
Hardware Echelon i.LON 10 Ethernet Adapter Manual do Utilizador
(82 páginas)
Hardware Echelon LonWorks USB Network Interface Manual do Utilizador
(27 páginas)
Imprimir documento
Imprimir página 11
Comentários a estes Manuais