INT problem

Yiu Simon (simonyiu@yahoo.com) Sat, 21 Oct 2000 23:27:13 -0700 (PDT)


Date: Sat, 21 Oct 2000 23:27:13 -0700 (PDT)
From: Yiu Simon <simonyiu@yahoo.com>
Subject: INT problem

I have a little question. On page 8 of the note "The 80386SX Processor Bus and Real-Mode Instruction Set", it says the processor will push the flag register, CS and IP when an interrupt occurs, use IRET instruction to pop the IP, CS and flags register. However, on the subrountin printc of the example on page 9, after int 21h, iret is not called. Then, wouldn't pop dx will pop the content of IP previously stored to dx, pop ax will pop the content of CS previously stored to ax, and ret will pop the content of the flag register previously stored to IP? Thanks in advance. __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/