I am trying to add the vector of an interrupt routine, where the interrupt routine itself is a C++ member function. How do I do this?<br><br>my assembler so far is:<br><br>push ds<br>xor ax, ax<br>mov ds, ax<br>mov si, 4*T2INT ; timer 2 interrupt is 19<br><br>Now this line is where I need to reference the C++ function called Timer::Interrupt<br><br>mov word ptr ds:[si}, offset Timer::Interrupt<br><br>But this doesn't work! no surprise there, but how do I reference the function? <br>Timer::Interupt looks like this....<br><br>void interrupt Timer::Interupt()<br>{<br> //decrement active software timers count<br> timerlist.tick();<br><br> //acknowledge timer interrupt<br> outportb(EOI, EOI_NONSPECIFIC);<br><br> //clear max count bit to start next cycle<br> unsigned short t2control;<br> t2control = inportb(T2CON);<br> t2control &= ~TIMER_MAXCOUNT;<br> outportb(T2CON, t2control);<br>}<br><br><br>I could write the ISR in assembly if anybody could tell me how I call timerlist.tick() from the assembly routine.<br><br>Any help would be greatly appreciated...<br>Thanks,<br>Simon