mov dx,word ptr ds:[43E77Eh]
mov al,byte ptr ds:[0043E788h]
out dx,al
ret
Everytime i run this program, it crashes before it opens, so i clicked debug and it gave me this:
Unhandled exception at 0x00401f34 in *********.exe: 0xC0000096: Privileged instruction.
and the break is at above assembly line.
I want to know what it's doing (the assembly code) and what the error is.
Debugging
Started by deltagods, Oct 08 2008 06:02 PM
3 replies to this topic
#1
Posted 08 October 2008 - 06:02 PM
|
|
|
#2
Posted 08 October 2008 - 06:12 PM
Sounds like an awkward approach to error handling, if you ask me.. Couldn't you post your C/C++ code?What compiler are you using?
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
#3
Posted 10 October 2008 - 06:59 PM
Considering you posted this in the C/C++ section, we're all going to assume this is a C or C++ related issue. You should probably post your source code so we can debug it.
If you're indeed writing in Assembly, you've posted in the wrong forum and this needs to be moved!
If you're indeed writing in Assembly, you've posted in the wrong forum and this needs to be moved!
#4
Guest_jacob123_*
Posted 11 October 2008 - 03:08 AM
Guest_jacob123_*
hi to all


Sign In
Create Account

Back to top









