Debugging HELLO.EXE

To see how CodeView deals with a bug, add these statements at the end of the source code for this program:

mov ax, 0FFh

int 21h

Set the appropriate debug options, rebuild the program, and return to CodeView.

Use F8 (Trace command) to execute the program. An execution error occurs when the INT instruction is executed, because there is no interrupt function corresponding to 0FFh.