Download TR0105 TSK51x/TSK52x Embedded Tools Reference
Transcript
TSK51x/TSK52x Embedded Tools Reference .SET Syntax symbol .SET expression .SET symbol expression Description With the .SET directive you assign the value of expression to symbol temporarily. If a symbol was defined with the .SET directive, you can redefine that symbol in another part of the assembly source, using the .SET directive again. Symbols that you define with the .SET directive are always local: you cannot define the symbol global with the .GLOBAL directive. The .SET directive is useful in establishing temporary or reusable counters within macros. expression must be absolute and cannot include a symbol that is not yet defined (no forward references are allowed). Normally, the defined symbol gets the same type as the result of the expression. However, when the resulting expression has type "none", the symbol gets no type. Example COUNT .SET 0 ; Initialize count. Later on you can ; assign other values to the symbol Related information .EQU (Set a permanent value to a symbol) 3−40
Related documents
GU0102 TSK51x/TSK52x RTOS
TR0106 TSK165x Embedded Tools Reference
ACTIVE CUBE
GU0102 TSK51x/TSK52x RTOS
CALM Common Assembly Language for Microprocessors user manual
User Manual - v3.1 M16 C Compiler
8051 Cross-Assembler, Linker, Utilities User`s Manual
MPEGIO2 SDK User Manual
Contact Information
Subjective Training and Evaluation Program
RL78/G10 - Renesas Electronics
GU0111 Using the TSK3000 Embedded Tools