• XRAM not cleared, variables not assigned
    im using a phillips 89c668 uC with 64k on chip ROM and 8k on chip XRAM. keil has been setup to use the on chip XRAM. AUXR is set to 0. startup.a51 has been modified to include the foll XDATASTART EQU...
  • Assign a global variable to a register
    Hello, in my application I use often a global variable. Since this variable is use in lots of functions, I'd like to assign it to a specific register (like DR28). It is possible? If yes, how can I...
  • regarding assignment
    while combining C & assembly instructions, how do i assign value contained in any register like r6, r7 etc. to variable defined in C. i did this is it right? unsigned char myvalue; # pragma asm...
  • Assign value issue in pdata variable
    Hi all, In my project, I write some codes like this sample: 1 void foo(char xdata *pbuf, char a, char b) 2 { 3 int pdata bufaddr; 4 long pdata testval; 5 6 testval = 0x200; 7 bufaddr = pbuf;...
  • assign a specific rom location to a variable.
    hi all, I am using Keil uvision3 V3.51. With this can i locate a variable in code area of arm(lpc2129) intensionally? can i assign a specific address to a variable located in RAM?? waiting...