Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75747

Your Projects :: RE: z80 Code Generation with LLVM

$
0
0
Author: AHelper
Posted: 04 Nov 2012 01:22:25 am (GMT -5)

elfprince13 wrote:
Incidentally, I don't see why this

Code:
__at 0xBB10 volatile unsigned char var_lcd_x;


couldn't be done like this:

Code:
volatile unsigned char *var_lcd_x = (unsigned char *)0xBB10;
For TIOS, you don't typically just start spurting out memory addresses for your variables. You would do something like SAFERAM+2 or something. That is what I am looking for.

The thing I was trying to look for was something like: char foo[] __attribute__(section('.data.catfish')) = "CATFISH";
_________________
I sleep under a pillow and stick my tongue out at TI! °ᴥ°


Viewing all articles
Browse latest Browse all 75747

Latest Images

Trending Articles



Latest Images