Hi! i use p89v51rd2fa microcontroller and microversion 3 C51 compiler. if i write an interrupt function in c the compiler create a asm code like
push ACC push PSW a=b; pop PSW pop ACC RETI
can i change the RETI to RET. regrads, venkatesh.
Why declare a function as an interrupt handler and then patch the compiler output if you are not going to use the function as an ISR?
Acctually both interrupts has different tasks.the main interrupt was doing serial transmission in bootloader mode and the sub interrupt also have serial trasmission in application code.the message protocol was totally change in the both communication.
regards, venkatesh.