While linking an asm file with C files,I got an error a51 table.asm -o table .and the error is "NON NULL ARGUMENT EXPECTED"...can anyone help me.
While linking an asm file with C files very few questions containg an can be answered. Need 1) the c line giving the error(and a few lines before and after). 2) the .a51 it references and the public decalration of it. Erik DO NOT type those lines, use cut and paste to get them in your response. Also, do not forget pre and /pre
"NON NULL ARGUMENT EXPECTED" Doesn't sound like a Linker error to me... As Erik said, post the full text of the message using cut-and-paste - do not re-type it - and use the
and
Sorry, that should've said, "Use the < pre > and < /pre > tags, as in the instructions for posting code"
I've initialized an external memory as unsigned int xdata page1 _at_ 0Xc000; and wrote page1=0XF0 as its content.I don't know how to increment this memory..can anyone pls help?
You'll have to explain what "increment memory" is supposed to mean. Memory is an electronic device somewhere on your board. It cannot be "incremented" in any meaningful sense by software. [And please, don't post new questions into the middle of old, mostly unrelated threads, even if you're the ones who started them.]
what about taking one question to it's solution before jumping to the next. did "NON NULL ARGUMENT EXPECTED" get resolved?, if so, how. Erik
"I don't know how to increment this memory" As Hans-Bernhard said, that is meaningless. Do you mean you want to increment the value stored at location 0xC000? If so, consider what page1=0XF0 actually does, then consider how to adapt that expression...
Do you mean you want to increment the value stored at location 0xC000? No..I want to increment external RAM location 0XC000 to 0XC001..
"I want to increment external RAM location 0XC000 to 0XC001.." Again, that makes no sense. Do you mean you want to use a pointer, and advance that pointer so that it points to X:0xC001 instead of X:0xC000?
yes..exactly
I asked: "Do you mean you want to use a pointer, and advance that pointer so that it points to X:0xC001 instead of X:0xC000?" lina t replied: "yes..exactly" So where's the problem? This is just plain, standard pointer stuff; no magic, nothing special - see any 'C' textbook!
Lina I appreciate your frustration. Andy keep telling you to read the manual. I know that such is not "in" Anyhow, if you have to limit yourself to what is "in" you will have to abandon all hopes of a career in this field. so: start reading or get another job. Erik
Erik san, can u pls tell me where do i get this Manual which you people are frequently telling..Pls don't feel silly..'coz i'm just a beginner..want to explore more in this field.Is it the c51 primer.pdf Lina
first, get to know your target you must read "the bible" here are the links to "the bible" Chapter 1 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf Once you are familiar with the chip, you can find the Keil :getting started guide" right at this site. Then you can - again right here - find the C and asm manuals in glorious pdf. Erik
and, if you got a CD from Keil (the eval is free, just ask for it, the Keil manuals are on that too.