On May 25, 2011, at 1:36 PM, KPL wrote:
> Hi,
>
> I have tried a little bit of programming in sdcc for pic before, but
> it never went too far, so treat me as a complete beginner. I have
> studied C programming many years ago, but almost never used it, so
> everything except the very general stu
> But I need to access a variable, defined in asm like this:
> GLOBAL disp_digits
>
> UDATA
> disp_digits res 5
>
>
> What would be the correct way to define that variable in C?
> I tried this:
> extern unsigned char disp_digits[5];
> main(){
> disp_digits[0]="0";
> di
Hi,
I have tried a little bit of programming in sdcc for pic before, but
it never went too far, so treat me as a complete beginner. I have
studied C programming many years ago, but almost never used it, so
everything except the very general stuff is forgotten long time ago.
So:
I'm trying to buil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 11.04.2011 16:51, schrieb Harley Laue:
>> --max-allocs-per-node : Higher values result in better code, at the cost
>> of longer compile time (and higher memory usage during compilation). The
>> default value is 1.
>
> I was a bit surprised how