Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 541 Bytes

010C-INT00H.md

File metadata and controls

22 lines (15 loc) · 541 Bytes

INT 00H Handler / Run time error

SYS010C: MOV AX,00C8

Sets the error code in AX.

SYS010F: POP CX
SYS0110: POP BX

Gets the return address into BX:CX. This address is used to indicate where the error occured. SYS:010F is also an entry point for terminating the program with an ExitCode.

SYS0111: JMP 011A

Exit program with an error code C8h/200: Division by zero.

See also: SYS:011A Ctrl-C / Program Exit or Go Back