Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My site. Has 2 new asm tutorials

Status
Not open for further replies.
The 'ASM tutorial 2' links to the HTML tutorial.

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!"
 
billy,

great job! and keep up the good work. i cant wait to see your second tutorial when you have put the correct link.

maybe no3 could explain how the stack works and how to get the best out of it.

"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."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top