This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

displaying the contents of the interrupt vector table, registers and flags

Hi All,

I am hoping someone can inform of how to go about displaying the contents of the interrupt vector table (IVT)on the stdout. I'm taking an introductory class in assembly language, and this is our fourth lab. My instructor wants us to print out the first 40 vectors of the IVT, the contents of the registers at the point the program is running and whether or not the flags are set.

The output should look something like this:

***********INTERRUPT VECTOR TABLE***********
0000H 00C9:0F9EH 0001H 00CA:0F9FH

NOTE: There should be 4 vectors per line, but
because of space I only show 2 above, 0000H
and 0001H.

***********REGISTER CONTENTS****************
DI = hex value
SI = hex value
BP = hex value
SP = hex value
BX = hex value
DX = hex value
CX = hex value
AX = hex value

*************FLAG BIT SETTINGS**************
CF = On or Off
PF = On or Off
AF = On or Off
ZF = On or Off
SF = On or Off
TF = On or Off
IF = On or Off
DF = On or off


Thanks,

Chauncey

0