You can use the interrupt key on I/O.
Pushing this key will call the EasyCPU to execute a call to the label intr: an "interrupt routine.
This routine must be placed before the end and after mov ah, 4ch, int 21h.
It may not work with fast computer of nowdays.
The EasyCPU does not have updates, it may better to use emu86.
Regards,
ד"ר ססיל יחזקאל
בת הספר להנדסה
אוניברסיטת בר-אילן