Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/26/02 09:39
Read: times


 
#29709 - RE: Calling assembler interrupts from C
Sorry - I meant <enable> assembler interrupt routines from C.
I have a working I2C routine in assembler:-

PUBLIC I2C_ISR
I2C_ISR:
.....
RETI

In the C module I have:-
EXTERN void I2C_ISR(void); // prototype

void I2C_ISR(void) interrupt 7 using 1
{
I2C_ISR();
}

Is this correct? It seems to work



List of 22 messages in thread
TopicAuthorDate
Calling assembler interrupts from C            01/01/70 00:00      
RE: Calling assembler interrupts from C            01/01/70 00:00      
RE: Calling assembler interrupts from C            01/01/70 00:00      
RE: Calling assembler interrupts from C            01/01/70 00:00      
RE: Calling assembler interrupts from C            01/01/70 00:00      
RE: Calling assembler interrupts from C            01/01/70 00:00      
But why??            01/01/70 00:00      
RE: But why??            01/01/70 00:00      
RE: But why??            01/01/70 00:00      
RE: But why??            01/01/70 00:00      
RE: But why??            01/01/70 00:00      
RE: But why??            01/01/70 00:00      
RE: But why??            01/01/70 00:00      
RE: Andy            01/01/70 00:00      
RE: Andy/Mahmood            01/01/70 00:00      
RE: Andy/Mahmood            01/01/70 00:00      
RE: Erik            01/01/70 00:00      
RE: Erik            01/01/70 00:00      
RE: Calling assembler interrupts from C            01/01/70 00:00      
RE: Calling assembler interrupts from C            01/01/70 00:00      
RE: SRC :-(            01/01/70 00:00      
Thanx Andy            01/01/70 00:00      

Back to Subject List