Not bad for a newbie tutorial, although personally I'd prefer concentrating on 32-bit code (eax, ebx, e**) since 16-bit code is now so rarely useful... even a 16-bit environment such as DOS will usually allow 32-bit code... "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
AmkG, I just got bitten using 32bit code in real mode.
"People who have nothing to say, say it too loud and have little knowledge. It's the quiet ones you need to worry about!"
sorry bout the link. Its fixed now. Well, i dont know if there will be a no3 for a while, at least until I learn more assembly. Im a newbie at asm. Evrything i can do now is in those 2 tutorials. Hopefully ill learn enough in the next month or so to make a 3rd tutorial. Thanks for the compliments and suggestions evryone!
billy,
look at FAQ on this site. find the technical references. download the 3 manuals. manual 2 lists all processor commands + a lot more.
this is quite heavy reading for newbies but you will have the info at your finger tips!
"People who have nothing to say, say it too loud and have little knowledge. It's the quiet ones you need to worry about!"
Bitten using 32-bit code in real mode? Did you USE16 the code segment? "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
in 16bit real mode i made a memory reference using ds=0h ebx=090000h. on the test PC it worked fine but on all others it locked up and i traced it to using segs greater than 64k in real mode.
"People who have nothing to say, say it too loud and have little knowledge. It's the quiet ones you need to worry about!"
Hrm... what about EMM emulators like EMM386? Any installed?
You should generally clear the upper word of a e** register in 16-bit mode before using it as a memory reference. So yeah it should crash. That you actually SUCCEEDED probably means that something else fooled around with the segment regs and allowed this.
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.