Download TR0109 TSK3000 Embedded Tools Reference
Transcript
TSK3000 Embedded Tools Reference Overview of symbol definition directives Directive Description .EQU Set permanent value to a symbol .EXTERN Import global section symbol .GLOBAL Declare global section symbol .RESUME Resume a previously defined section .SECTION/.ENDSEC Start a new section .SET Set temporary value to a symbol .SIZE Set size of symbol in the ELF symbol table .SOURCE Specify name of original C source file .TYPE Set symbol type in the ELF symbol table .WEAK Mark a symbol as ’weak’ Overview of data definition / storage allocation directives Directive Description .ALIGN Align location counter .BS/.BSB/.BSH/ .BSW/.BSD Define block storage (initialized) .DB Define byte .DH Define half word .DW Define word .DD Define double−word .DS/.DSB/.DSH/ .DSW/.DSD Define storage .OFFSET Move location counter forwards Overview of macro and conditional assembly directives Directive Description .DEFINE Define substitution string .BREAK Break out of current macro expansion .REPEAT/.ENDREP Repeat sequence of source lines .FOR/.ENDFOR Repeat sequence of source lines n times .IF/.ELIF/.ELSE Conditional assembly directive .ENDIF End of conditional assembly directive .MACRO/.ENDM Define macro .UNDEF Undefine .DEFINE symbol or macro Overview of listing control assembly directives Directive Description .LIST/.NOLIST Print / do not print source lines to list file .PAGE Set top of page/size of page .TITLE Set program title in header of assembly list file 3−10