Interrupt Service Routine

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.

Reply to
oozypal
Loading thread data ...

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

Ian

Reply to
Ian Bell

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.