i still have problem in the code
i think it is startup.a51 and fix but still proble when run on cpu if it does not do what i say in code
when i build it gives a message
** error C138 interupt can not recieive or return a value
but i do not interupt i do not clik the stop build button
the proj is needed and i now worry big in my pants
plz send code
Post your code
#include <stdio.h>
int main( integer argc, char ***argv[] ) interrupt 10 { ilv( 12 , 7); // chek the list
initibit( 11 ); // ???
// while (argc<>0) compiler thinks is bad
while (argc); { initibit( argv[ argc ] };
argc := argc - 1; }
printf( "program complete %d\a" , argc);
return 0
}
but i do not interupt then what is this int main( integer argc, char ***argv[] ) interrupt 10
Erik
i say already again
i do not clik the stop build button!!!
the code txes to pc. i think interrupt is for sbuf
sbuf sends to pc not comopiler
i thinking is big bug in compiler !!!!????
"i say already again i do not clik the stop build button!!!"
It's not talking about you interrupting the build process!
The concept of Imterrupts is absolutely basic to just about all computers - they go by the name of "IRQ" on PCs (short for "interrupt request")
www.8052.com/tutflow.phtml
If you don't understand this now, you have a very long way to go to complete your project!
:=0
"i thinking is big bug in compiler !!!!????"
No - just a big hole in your understanding
View all questions in Keil forum