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
»
mov between RSI and debug register - segmentation fault.
« previous
next »
Print
Pages: [
1
]
Author
Topic: mov between RSI and debug register - segmentation fault. (Read 9114 times)
rouki
Jr. Member
Posts: 5
mov between RSI and debug register - segmentation fault.
«
on:
July 15, 2014, 10:05:28 AM »
Hey,
I'm using OS X 10.9.4 and the following flags : -f macho64
The following line causing a segmentation fault : mov rsi, dr0
It works fine in 64bit windows MASM.
Any suggestions?
thanks.
p.s.
I'm new to nasm
Logged
rouki
Jr. Member
Posts: 5
Re: mov between RSI and debug register - segmentation fault.
«
Reply #1 on:
July 15, 2014, 02:35:32 PM »
Nvm I got it
Debug registers cannot be used in user mode. Have to be in kernel mode.
thanks
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
mov between RSI and debug register - segmentation fault.