TI to IAR 2.x/3.x Assembler Migration
E-4
E.2.4
Constant Initialization Directives
Description
Asm430 Directive (TI)
A430 Directive (IAR)
Initialize one or more successive bytes or
text strings
.byte or .string
DB
Initialize a 48-bit MSP430 floating-point
constant
.double 1)
Initialize a variable-length field
.field
2)
Initialize a 32-bit MSP430 floating-point
constant
.float DF
3)
Reserve size bytes in the current section
.space
DS
Initialize one or more text strings
.string
DB
Initialize one or more 16-bit integers
.word
DW
1) The 48-bit MSP430 format is not supported
2) nitialization of bit-field constants (.field) is not supported. Constants must be combined into complete
words using DW.
;
Asm430
code
;
A430
code
.field 5,3
\
.field 12,4
| ->
DW (30<<(4+3))|(12<<3)|5 ; equals 3941
.field 30,8
/
3) The 32-bit IEEE floating-point format, used by the C Compiler, is supported in the A430 assembler.
Additional A430 Directives (IAR)
A430 Directive (IAR)
Initialize one or more 32-bit integers
DL
E.2.5
Listing Control Directives
Description
Asm430 Directive (TI)
A430 Directive (IAR)
Allow false conditional code block listing
.fclist
LSTCND-
Inhibit false conditional code block listing
.fcnolist
Set the page length of the source listing
.length
PAGSIZ
Set the page width of the source listing
.width
COL
Restart the source listing
.list
Stop the source listing
.nolist
LSTOUT-
Allow macro listings and loop blocks
.mlist
(macro)
(loop blocks)
Inhibit macro listings and loop blocks
.mnolist
LSTEXP- (macro)
LSTREP- (loop blocks)
Select output listing options
.option
1)
Eject a page in the source listing
.page
PAGE
Allow expanded substitution symbol listing
.sslist
2)
Inhibit expanded substitution symbol
listing
.ssnolist 2)
Print a title in the listing page header
.title
3)
1) No A430 directive directly corresponds to .option. The individual listing control directives (above) or the
command-line option -c (with suboptions) should be used to replace the .option directive.
2) There is no directive that directly corresponds to .sslist/.ssnolist.
3) The title in the listing page header is the source file name.
Additional A430 Directives (IAR)
A430 Directive (IAR)
Allow/inhibit listing of macro definitions
LSTMAC (+/-)
Allow/inhibit multi-line code listing
LSTCOD (+/-)
Allow/inhibit partitioning of listing into pages
LSTPAG (+/-)
Generate cross reference table
LSTXREF (+/-)
Summary of Contents for MSP-FET430
Page 3: ......
Page 4: ...July 2004 U s e r s G u i d e ...
Page 8: ...vi ...
Page 12: ......
Page 30: ......
Page 52: ...Hardware B 2 Figure B 1 MSP FET430X110 Schematic ...
Page 54: ...Hardware B 4 Figure B 3 MSP FET430IF FET Interface module Schematic ...
Page 63: ...Hardware B 13 Figure B 11 MSP TSPN80 Target Socket module Schematic ...
Page 67: ...Hardware B 17 Figure B 15 MSP FET430UIF USB Interface schematics ...
Page 68: ...Hardware B 18 ...
Page 69: ...Hardware B 19 ...
Page 70: ...Hardware B 20 ...
Page 71: ...Hardware B 21 ...
Page 72: ......
Page 80: ......
Page 90: ......
Page 95: ...MSP FET430UIF Installation Guide F 5 Figure F 5 Device Manager ...