Hi,
How to use structure in asm? I have tried the example, see below snippet, in Page 76 of spru186v.pdf. TMS320C6000 Assembly Language Tools v 7.3 User's Guide. It cannot get through at all. Anyone can give me a compilable example with this small example?
Thanks.
....................
COORDT .struct ; structure tag definition
X .byte ;
Y .byte
T_LEN .endstruct
COORD .tag COORDT ; declare COORD (coordinate)
.bss COORD, T_LEN ; actual memory allocation
LDB *+B14(COORD.Y), A2 ; move member Y of structure
; COORD into register A2