NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
int 15h/86h
« previous
next »
Print
Pages: [
1
]
Author
Topic: int 15h/86h (Read 11492 times)
Silwc
Jr. Member
Posts: 3
int 15h/86h
«
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
Logged
Frank Kotler
NASM Developer
Hero Member
Posts: 2667
Country:
Re: int 15h/86h
«
Reply #1 on:
November 29, 2012, 08:59:45 PM »
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
Logged
Silwc
Jr. Member
Posts: 3
Re: int 15h/86h
«
Reply #2 on:
November 29, 2012, 09:20:19 PM »
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!
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
int 15h/86h