Question: Using C compiler can the user access program space in C, using table write and table read instructions?

Answer: C is by definition not supposed to be able to access the program space as if it where data. However, you can pass the program address as a parameter to a function (assembly) that copies the block to true data space.


Device: TMS320C5x
Category: TI Tools
Detail: Code Generation Tools
Detail2: Compiler
Title: Access program space in C
Source: Case from TMS320 Hotline
Date: 8/1/97
GenId: 0005102

© Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!