Example 2
Example 3
Following is an example of a union definition.
C source:
union u_tag {
int
val1;
float val2;
char
valc;
}
valu;
Resulting assembly language code:
.utag
.member
.member
.member
.eos
Following is an example of an enumeration definition.
C Source:
{
enum o_ty { reg_1, reg_2, result } optypes;
}
Resulting assembly language code:
.etag
.member
.member
.member
.eos
Define a Structure
_u_tag,32
_val1,0,4,11,16
_val2,0,6,11,32
_valc,0,2,11,16
_o_ty,16
_reg_1,0,4,16,16
_reg_2,1,4,16,16
_result,2,4,16,16
Symbolic Debugging Directives
.stag/.etag/.utag/.eos
B-9
Need help?
Do you have a question about the TMS320C54x and is the answer not in the manual?