We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi everyone i am new to 8051 and and have some problem with interrupts while working with kiel software.
i am unable to pass arguments to following function
void serial_isr(char code *ptr) interrupt 4
please do reply
good day....
See also:
http://www.keil.com/support/man/docs/c51/c51_le_interruptfuncs.htm
"The following rules apply to interrupt functions." ... "No function arguments may be specified for an interrupt function." ... "Interrupt function declarations may not include a return value."