Assembly Language/Need to Get Started in Assembly
Expert: Jeronimo Bonno - 7/3/2001
QuestionJeronimo,
can you help me get started in assembly, what i need is just some code to get started something that demonstrates lots of the basics. also if there are any websites that you think can get me started that would be appreciated too, and can you show me how to call a Windows-API call. thanks alot for your help. i dont know exactly what i will be using but for sure its some x86 compiler. also maybe just without a compiler using a Hex Editor or something if i learn the binary way of doing it.
AnswerJohn:
Assembly is easy to get examples of because
anything can be disassembled. If you're windows
or MS-DOS, get a command prompt, pick the file you
want to see and type "debug win.com" or whatever
file you want. Then type "u" until you get through.
If you create a file that contains
u
u
u
u
u
u
u
u
q
named unasmble you can type
"debug win.com < unasmble > asm.txt"
There should be as many lines with u as there are
lines of assembly code. While it's possible to
write in opcode(with hex editor), it's probably a
waste of time. But, debug will also write in hex
if you want to do so. While assembly is great for
utilities, I wouldn't dream of doing a windows program
in it. Debug(Microsoft's micro assembler) shipped
with their OS for many years now. You probably have
it.
Favorite assembler: Borland tasm
Favorite asm book: 386 Assembly Language
WrittenBy: Penn & Don Brumm
Favorite Assembly Websites:
http://webster.cs.ucr.edu/Page_asm/ArtofAssembly/ArtofAsm.html
http://www.linuxdoc.org/HOWTO/Assembly-HOWTO/
Hope this helps, if you have trouble finding
the book, let me know & I'll dig up the publisher.
Jeronimo