NASM Forum > Programming with NASM

Converting DOS TSR example from MASM to NASM

<< < (2/2)

Frank Kotler:
That does NOT sound correct to me!

Best,
Frank

fredericopissarra:

--- Quote from: Sharlenehargrove on January 20, 2023, 05:05:30 AM ---In NASM, you would use the int instruction, followed by the interrupt number in decimal. To call interrupt 21 (the DOS interrupt), you would use the instruction int 21.
--- End quote ---

Nope... int 21h works the same way, but I prefer writing hexadecimal in C style: int 0x21

See NASM documentation: here

Navigation

[0] Message Index

[*] Previous page

Go to full version