Ed Casas (edc@ece.ubc.ca) Sun, 15 Oct 2000 17:56:06 -0700
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- New Message to:eece379@listhost.ece.ubc.ca
- Reply to:Re: Question about Assignment 1 #2
- Next message: Ed Casas: "Re: 80x86 instruction set"
- Previous message: Ed Casas: "Re: Selected Assignment"
- In reply to: Greg Frey: "Selected Assignment"
Date: Sun, 15 Oct 2000 17:56:06 -0700 From: Ed Casas <edc@ece.ubc.ca> Subject: Re: Question about Assignment 1 #2> Do anyone know how to test the code for question 2? How do you > know what is in the CS and IP and verify the output is correct? - run the DOS command "debug" and use the command "d 0:0" to show the contents of the first part of the interrupt vector memory - put values elsewhere in memory (using db or dw) and modify your program to print starting at that location - write a C program that does the same thing and compare the two outputs [the program must be compiled to run in DOS (real-mode)] - make sure the output is not all "0000" or all "FFFF" and hope for the best - other ideas? -- Ed Casas edc@ece.ubc.ca http://casas.ece.ubc.ca +1 604 822-2592
- Next message: Ed Casas: "Re: 80x86 instruction set"
- Previous message: Ed Casas: "Re: Selected Assignment"
- In reply to: Greg Frey: "Selected Assignment"