NASM - The Netwide Assembler
NASM Forum => Programming with NASM => Topic started by: Silwc on November 29, 2012, 08:32:31 PM
-
Hello, I'm trying to use int 15h/86h interruption to wait, but I get Segmentation fault.
I move 86h into ah, and some numbers into cx and dx. Is there anything else I need to set?
Thanks for any help :)
-
Segmentation fault? What's your OS, Silwc? BIOS interrupts are only available in 16-bit code, of course, but ah, cx, and dx should do it - carry-flag set on error.
Best,
Frank
-
Oh, that clears it up, I was working with 16-bit code, but wanted to test this interruption before putting it in my code and I was using 32-bit code to test it. :-[
Thank you very much!