*
*Home|Chinese|Japanese*About ARM|Forums|Events|News|Employment|Contact Us|Investors*
dotted rule
*ARM - the architecture for the digital worldARM - the architecture for the digital world
search
*
*
***
*MARKETS:PRODUCTS & SOLUTIONS:CONNECTED COMMUNITY:TECHNICAL SUPPORT:DOCUMENTATION*
*
technical support
*
*
****
*.Technical Support
*
*
*>>Home Page*
*
*.Obtaining Support*
*
*.FAQs*
*
**Development Tool FAQs*
**IP FAQs*
**Embedded Software FAQs*
**Artisan Physical IP FAQs (Login Required)*
*
*.Downloads*
*
*.Documentation*
*
*.Training*
*
*.Where To Buy*
*
*.Keil MCU Tools*
*
*.What's New*
*
*.ARM Newsgroups*
*
*.Active Assist On-site Services*
*
*
*
technical support FAQsask ARM*
*

Technical Support Search
*     (Advanced Search)
  FAQs   Documentation   Downloads   Forums

*

 
downarrowarmasm/tasm: Use of ORG directive
Applies to: Assembler, Software Development Toolkit (SDT)

The ORG directive is an old mechanism for setting the base address of a code or data area, supported in SDT 2.10 and earlier toolkits. However, this is no longer an appropriate mechanism because its use conflicts with the scatter loading mechanism supported by the linker.

SDT 2.11 Reference Guide, p.2-8 advised that the use of ORG should be avoided. All support for ORG was removed in SDT 2.50 - see SDT 2.50 Reference Guide, p.1-19.

The recommended way to specify the address of code and data areas in memory is to use the linker's 'scatterloading' mechanism. For a description of scatterloading:

  • SDT 2.50/2.51 users should refer to SDT 2.50 Reference Guide, Chapter 6, 'Linker' and SDT 2.50 User Guide, Chapter 10, 'Writing Code for ROM'.
  • SDT 2.11/2.11a users should refer to the SDT 2.11 User Guide, section 14, 'Placing Code and Data in Memory' and Application Note 48, Scatter Loading, in the ARM Application Notes.





back to top

*
**
*4 dots*Other ARM Websites
*
shadow *LEGAL STATEMENTshadow