Texas Instruments MSP-FET430 Additional A430 Directives IAR, Asm430 directive A430 directive

Page 88

TI to IAR 2.x/3.x Assembler Migration

Additional A430 Directives (IAR)

A430 Directive (IAR)

Assign a value to a preprocessor symbol

#define

Undefine a preprocessor symbol

#undef

Conditional assembly

#if, #else, #elif

Assemble if a preprocessor symbol is defined (not defined)

#ifdef, #ifndef

End a #if, #ifdef or #ifndef block

#endif

Includes a file

#include

Generate an error

#error

E.2.12

Alphabetical Listing and Cross Reference of Asm430 Directives

Asm430 directive

A430 directive

Asm430 directive

A430 directive

.align

 

See Section control directives

.loop

REPT

.asg

 

SET or VAR or ASSIGN

.macro

MACRO

.break

 

See Conditional-Assembly Directives

.mexit

EXITM

.bss

 

See Symbol Control Directives

.mlib

See File Referencing Directives

.byte or .string

DB

.mlist

LSTEXP+ (macro)

.copy or .include

#include or $

 

LSTREP+ (loop blocks)

.data

 

RSEG

.mmsg

#message (XXXXXX)

.def

 

PUBLIC or EXPORT

.mnolist

LSTEXP- (macro)

.double

 

Not supported

 

LSTREP- (loop blocks)

.else

 

ELSE

.newblock

See Symbol Control Directives

.elseif

 

ELSEIF

.nolist

LSTOUT-

.emsg

 

#error

.option

See Listing Control Directives

.end

 

END

.page

PAGE

.endif

 

ENDIF

.ref

EXTERN or IMPORT

.endloop

 

ENDR

.sect

RSEG

.endm

 

ENDM

.setsect

See Miscellaneous Directives

.endstruct

 

See Symbol Control Directives

.setsym

See Miscellaneous Directives

.equ or .set

 

EQU or =

.space

DS

.eval

 

SET or VAR or ASSIGN

.sslist

Not supported

.even

 

EVEN

.ssnolist

Not supported

.fclist

 

LSTCND-

.string

DB

.fcnolist

 

LSTCND+

.struct

See Symbol Control Directives

.field

 

See Constant Initialization Directives

.tag

See Symbol Control Directives

.float

 

See Constant Initialization Directives

.text

RSEG

.global

 

See File Referencing Directives

.title

See Listing Control Directives

.if

 

IF

.usect

See Symbol Control Directives

.label

 

See Miscellaneous Directives

.width

COL

.length

 

PAGSIZ

.wmsg

See Miscellaneous Directives

.list

 

LSTOUT+

.word

DW

E.2.13

Additional A430 Directives (IAR)

 

Conditional-Assembly Directives

Constant Initialization Directives

Macro Directives

REPTC

 

DL

LOCAL

REPTI

 

 

 

File Referencing Directives

Miscellaneous Directives

Symbol Control Directives

NAME or PROGRAM

RADIX

DEFINE

MODULE or LIBRARY

CASEON

SFRB

ENDMOD

 

CASEOFF

SFRW

Listing Control Directives

Preprocessor Directives

Symbol Control Directives

LSTMAC (+/-)

#define

ASEG

LSTCOD (+/-)

#undef

RSEG

E-8

Image 88
Contents Users Guide 2004Important Notice Page July Read This First How to Use This ManualAbout This Manual Information About Cautions and Warnings Related Documentation From Texas InstrumentsIf You Need Assistance FCC WarningPage Contents Frequently Asked Questions Figures TablesPage Get Started Now TopicKit Contents, MSP-FET430X110 Software Installation Kit Contents, MSP-FET430UIFHardware Installation, MSP-FET430X110 Hardware Installation, USB-IF, MSP-FET430UIF Flashing the LEDGet Started Now Important MSP430 Documents on the CD-ROM and WEB Development Flow Using Kickstart OverviewProject Settings OUTPUT-OUTPUT FILE-EXECUTABLEFactory Settings Creating a Project from Scratch Using an Existing IAR V1.x/V2.x Project Stack Management within the .xcl FilesHow to Generate Texas Instrument .TXT and other format Files Overview of Example ProgramsDevelopment Flow Using Breakpoints Using C-SPYBreakpoint Types Using Single Step Using Watch Windows Page Design Considerations for In-Circuit Programming Bootstrap Loader External PowerDesign Considerations for In-Circuit Programming Device Signals PRGS430Design Considerations for In-Circuit Programming Signal connections for MSP-FET430X110 Design Considerations for In-Circuit Programming Jtag Signal Connections Frequently Asked Questions Hardware Program Development Assembler, C-Compiler, Linker Should Done or Not Return Omit Debugging C-SPY OPTIONS-FET DEBUGGER-CONNECTIONSFrequently Asked Questions Figure A-1. Modification to FET Interface module Frequently Asked Questions Frequently Asked Questions Frequently Asked Questions Frequently Asked Questions Frequently Asked Questions Figure B-1. MSP-FET430X110, Schematic HardwareFigure B-1. MSP-FET430X110, Schematic Figure B-2. MSP-FET430X110, PCB Pictorials Figure B-3. MSP-FET430IF FET Interface module, Schematic Figure B-4. MSP-FET430IF FET Interface module, PCB Pictorial Figure B-5. MSP-TS430DW28 Target Socket module, Schematic LED connected to P1.0 Hardware Jumper J7 Jumper J6Open to measure current Hardware Jumper J6 Open to disconnect LED History of changes to MSP-TS430PM64 Target Socket module Figure B-11. MSP-TSPN80 Target Socket module, Schematic Figure B-12. MSP-TSPN80 Target Socket module, PCB Pictorials Figure B-13. MSP-TSPZ100 Target Socket module, Schematic Jumper J6 Figure B-15. MSP-FET430UIF USB Interface schematics Hardware Hardware Hardware Hardware Page FET Specific Menus Emulator EMULATOR-POWER on Reset EMULATOR-GIE on/off EMULATOR-FORCE Single SteppingPin MSP430F44x and MSP430F43x Device Emulation Table D-1. F4xx/80-pin Signal Mapping P1.5/TACLK/ACLK P1.4/TBCLK/SMCLK P1.3/TBOUTH/SVSOUT Page TI to IAR 2.x/3.x Assembler Migration Segment Control Translating Asm430 Assembler Directives to A430 DirectivesIntroduction Character stringsSection Control Directives Description Asm430 Directive TI A430 Directive IARConstant Initialization Directives Listing Control DirectivesConditional-Assembly Directives File Reference DirectivesSymbol Control Directives ReptcMiscellaneous Directives Macro DirectivesPreprocessor Directives Additional A430 Directives IAR Asm430 directive A430 directiveLstpag + #if, #else, #elif Page MSP-FET430UIF Installation Guide Hardware Installation Figure F-1. WinXP Hardware RecognitionFigure F-3. WinXP Driver Location Selection Folder Figure F-4. WinXP Driver Installation Figure F-5. Device Manager