|
-
July 13th, 2002, 07:57 PM
#1
Junior Member
Reading a byte from inp() and DEBUG
Does anybody know why reading a byte from debug (using "i") through DOS produces a different value than reading a byte by using _inp() from <conio.h> from MS VC++? In both cases, you have to specify a hex. address. I am assuming by specifying the same hex address, I should have received the same memory content. But In my case, I am getting two different values. Why is that? Am I comparing apples to oranges in terms of memory location?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|