Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: can you specify HIGH or LOW byte of a LABEL/ADDRESS using the ".byte" or any other directive, is there anything similar to ORG ?

$
0
0

There is no method which can split a symbol into pieces smaller than 16-bits.  Use the .field directive to put a 16-bit chunk of data (or symbol address) anywhere, and not just on 16-bit boundaries.  But I'm still unclear on why you need to do any of that.

There is no TI alternative to the IAR assembler ORG directive.  Instead, put it in a section with a particular name.  Then in the SECTIONS directive of the linker command file, you can allocate the section to a hard-coded address like this ...

    particular_section > 0x12345678

Thanks and regards,

-George


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>