assemblyhexx86-16

What does 0x mean before a number?


Does anyone knows why people using 0x before number?

For example:

mov ah, 0x16

mov ah, 16

There is a difference between them?


Solution

  • 0x implies it's a hexadecimal literal, and 0x16 is 22 decimal.