Home > other >  Interrupt type code
Interrupt type code

Time:10-19

Interrupt type code is using hexadecimal representation?
N=14 or n=0, eh?
Which one is right? Or can be

CodePudding user response:

Although no see interrupt type code is what meaning, but when it comes to hexadecimal, computer practical is binary, hexadecimal or decimal only express convenient and easier to read.

CodePudding user response:

Interrupt type code n=14;
Unless otherwise noted, type number is expressed as a hexadecimal form, namely 14 h;
Interrupt type n is the size of a byte positive integer, so the range is 0 to 255, need two BCD code, namely 00 to FF,
Such as the BIOS interrupt n=14 said RS - 232 serial port I/O,

However, if in the software, you write INT 14 MASM is its identification into decimal, because you don't indicate hexadecimal symbols in MASM software, it is the default decimal;
So if you see INT 14 on books, written in software to INT 14 h.
  • Related