hello i have written code in following way void fonction1(void) { TMOD = (TMOD | 0x20); SCON0 = 0x50; asm { MOV SCON1,#40h } SCON1 = 0x40; }
at the time of Build target it is showing error " 'asm' is undefined symbol" like this in other functions also i want to add assembly code in c function . so how can i resolve this problem . pls help me some body . thank for time
"I accidentally stumbled across an undocumented C51 keyword."
Apparently so!
But, to the OP, I would say again: you can dig yourself into a plenty big enough hole without resorting to undocumented features...!