I reversed the jump. Is that correct?
; If busy, exit with X=0
iord EP_A1_Mode
and A, ACK_IN
cmp A, ACK_IN
jz SendData_Busy
By the way, I have another question. Lets say I have a 128us interrupt routine. If the processor is currently doing some work inside the 128us interrupt, what happens to interrupts endpoint 0 and 1? Will they be lost? Will the interrupt get executed after the timer routine is complete? Does that even matter? Basically, how does the cypress chip deal with multiple interrupts happening within the same time of each other? What is best programming practice for this type of situation? Should I try to avoid using the timer interrupt altogether?