When writing my program, if I want to create a Table in Program Memory, how do I start my table at a specific address? If the ORG statement is not suitable are their other methods of implementation?
Answer When using the ORG expression, this can only be used to indicate the offset from the start address of the present section. To overcome this problem the SECTION directive can be used to establish a table at any specific address, for example: table .section at 300 ‘code’ This statement can be used to indicate the specific address where the table should begin.
Related Questions
- When writing my program, if I want to create a Table in Program Memory, how do I start my table at a specific address? If the ORG statement is not suitable are their other methods of implementation?
- During program writing, to construct a table in the Program Memory, how is an absolute address setup? If it is not suitable to use ORG are there other methods?
- How to create a data table in program memory?