3 ms·
40Hex :raises eyebrow:
by alfiedotwtf 6y ago
40Hex :raises eyebrow:
- userbinator 6y agoI thought having the 0x-prefix (which AFAIK is a C-originated syntax) along with the -h suffix (classic PC Asm syntax) together in the same code was unusual too.
- JoshTriplett 6y agoI've programmed for DOS and BIOS before, and using the `h` suffix for `int 21h` and `int 20h` and `int 10h` and `int 13h` still feels natural. I never wrote `h` literals for anything but a few interrupt numbers, though. And when I programmed for 32-bit Linux, `int 0x80` felt more natural.