hello there..... my name is hardian, from indonesia i wrote some code using keil. the code is : idata char nim[14] _at_0x00 ; // i read from the keil textbook (the blue one) but when i compile it, there's an error message: missing ';' before '_at_0x00 can u tell me why this is happened ? or, what should i do with the code ? thanks very much... sincerley, hardian
idata char nim[14] _at_0x00 ;
char idata nim[14] _at_ 0x00;
Of course you will trash register bank 0 and part of register bank 1 with nim[] located at 0x00, move nim[] up to at least 0x08 and read Intel's MSC-51 User's Manual (it's on their website). - Mark