Interrupt Service Routine

May 21, 2006 1 Replies

How can I write an interrupt service routine that performs all the required functions in Assembly, but the input device is serviced only if a special location, MOD, contains all 1's. The output device is serviced only if location MOD contains all 0's.



Er, test MOD for 00H and FFH in the ISR first (assuming we are talking 8 bits here).

Ian

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required