This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C5535: Use .word directive in .text section

Part Number: TMS320C5535

I am trying to force the assembler to insert some words at a specific location. The assembler manual cautions against this for alignment issues but does not say it is not allowed. Here is my code,

.text
.def reset_isr
.def start

.align 2
reset_isr:
start:
;init stacks
AMOV #0x00FFE8, XSP
AMOV #0x00FF83, XSSP

;init uart
MOV #0x0000, port(#0x1B18) ;PWREMU_MGMT
MOV #0x0000, port(#0x1B08) ;MCR
MOV #20, port(#0x1B10) ;DLL
MOV #0, port(#0x1B12) ;DLH
MOV #0x0003, port(#0x1B06) ;LCR
MOV #0x6000, port(#0x1B18) ;PWREMU_MGMT


.align 2
.word 0xFFFF
.word 0xFFFF

This is the disassembly view, you can see that it ignores the .word directives completely. If I move them to a .data section it works fine.

93 MOV #0x0003, port(#0x1B06) ;LCR
010022: e651031b06 MOV #3,port(#01b06h)
94 MOV #0x6000, port(#0x1B18) ;PWREMU_MGMT
010027: fb5160001b18 MOV #24576,port(#01b18h)
102 MOV AC0, low_byte(*AR3)
$..\nuc.s:102:174$():
01002d: e56105 MOV AC0,low_byte(*AR3)
103 MOV AC0, high_byte(*AR3+)
010030: e56304 MOV AC0,high_byte(*AR3+)

I'm not looking for an answer explaining why I shouldn't do this, I want to know if it is possible. Thanks.