Other Parts Discussed in Thread: MSP430G2553
I am using the TI MSP430G2553 and am attempting to construct a TABLE to look up specific quantities.
Using the IAR assembler the following is quite easy and works well:
ORG 0D000h
LOOKUP_TABLE DB 031h, HIGH(CRC16, LOW(CRC16), LOW(DO_NOP), HIGH(DO_NOP)
DO_NOP MOV R10, R11
NOP
RET
CRC_16 DW 045AEh
Attempts to use CCS assembler with the ".byte" and ".word" directive do not appear to allow you to specify a LOW or HIGH byte for a 16bit LABEL . Use of ".word" will always pad a zero if you ignore the LOW or HIGH byte issue.
The structure of the LOOKUP_TABLE entries are such that alteration is not possible.
Any suggestions.