
TI to IAR 2.x/3.x Assembler Migration
E.2.4 | Constant Initialization Directives |
| |
Description |
| Asm430 Directive (TI) | A430 Directive (IAR) |
Initialize one or more successive bytes or | .byte or .string | DB | |
text strings |
|
|
|
Initialize a | .double | 1) | |
constant |
|
|
|
Initialize a | .field | 2) | |
Initialize a | .float | DF 3) | |
constant |
|
|
|
Reserve size bytes in the current section | .space | DS | |
Initialize one or more text strings | .string | DB | |
Initialize one or more | .word | DW |
1)The
2)nitialization of
; Asm430 code | ; A430 code | |
.field 5,3 | \ |
|
.field 12,4 | | DW (30<<(4+3))(12<<3)5 ; equals 3941 |
.field 30,8 | / |
|
3)The
Additional A430 Directives (IAR)
Initialize one or more
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 | LSTCND+ |
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 | LSTOUT+ |
Stop the source listing | .nolist | LSTOUT- |
Allow macro listings and loop blocks | .mlist | LSTEXP+ (macro) |
|
| LSTREP+ (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 | .ssnolist | 2) |
listing |
|
|
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
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 | LSTCOD |
Allow/inhibit partitioning of listing into pages | LSTPAG |
Generate cross reference table | LSTXREF |