Qbasicnews.com

Full Version: Assembly...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, since I'm sick of all the little memory problems, I just might want to learn some assembly, but I have a few questions about it first...

(1) Is Assembly programming done in an assembly program? Or is it done in a text editor.

(2) How are assembly programs merged with QB Programs. Is there any Libs needed to actually include the assembly.

(3) What uses do MASM and TASM have with the assembly code.

(4) Where is a good place to learn assembly, or where did you learn it from.

I'm sorry if there questions are Read-The-Manual questions, but answers would be appreciated.
1) You write the code in a text editor, then assemble is via command line
2) The obj file created during assembly is used to link into the creation of a qlb. The only libs you need are the ones necessary for creating a qlb, and during program execution, you need to include the one you have created.
3) TASM and MASM assemble the code to be used.
4) http://qb45.tonez-online.com/asm/pn/modu...=tutorials
If you're going to learn Assembly, learn MASM 6.15 with "Assembly Language for Intel-based computers, fourth edition," by Kip R. Irvine. I learned every single thing about assembly from that college textbook. It's excellent. It also comes with a copy of MASM 6.15. Of course, it'll cost a fair bit - $75-$100 CDN. I got my copy out of the library.

BTW, MASM comes with it's own IDE, I think.

Oh, and to embed Assembly code in QB programs, you'll need to call the Absolute procedure that is contained in the standard QB lib.

Good luck!
Try ART of Assembly free online book in PDF format.

A good tut to interface QB with ASM is from CGI Joe(Generic)

TASM and MASM are what you use to "assemble" your asm code. You code in any text editor of your flavor(I use DOs Edit). You coud also use DEBUG/95 which is free. There is also a FASM, NASM, etc.


And lastly, ASM is not that hard. If you know how to code in QB, you'll know how tpo code in ASM.
If you need help just ask, I'll be glad to help you. ;*)