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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/02/98 14:03
Read: times


 
#33 - RE: Timer Written C
Sorry, I was in such a hurry to forget some details:

Here it is again:

void timer0 interrupt 1 using 1
{
// your small portition of interrupt code here
}

interrupt 1 - tells the compiler which interrupt to use (int. vector located at 0x000b)
for timer 1 this is interrupt 3

using 1 - (optional) tells the compiler which register bank to use, when registers are used in interrupt function. (this is faster than pushing registers on stack)

List of 3 messages in thread
TopicAuthorDate
Timer Written C            01/01/70 00:00      
RE: Timer Written C            01/01/70 00:00      
RE: Timer Written C            01/01/70 00:00      

Back to Subject List