Re: getting good at assembly language



Pinback wrote:

> Thanks for your reply btw. True, it won't make me a good coder, but
> writing such tools I don't think allows for sloppy design or coding
> practices, I could very well be wrong though, as I've seen some really
> crap code in my time. But I would want to learn best practice as much
> as the assembly language itself.

Trust me, you can very easily write a very sloppy assembler or
disassembler. A pretty good example of how NOT to do a whole lot of
things, including [dis]assembly and virtual machines, fetch a copy
of Bill Blunden's "Virtual Machine Design And Implementation in C/C++".


> Again true, a debugger would require a lot of good OS knowledge,
> therefore I feel if you can write a good debugger system, you've
> cracked the OS and can sit back relax, have a cup of tea and a biscuit
> and know that you are all masterful :-)

Well, not really :)

Under win32, there's a whole debugging API that makes life a lot
easier for you. Granted, writing something like www.ollydbg.de is
a lot of work, but you can get something simple going rather easy.
A kernel-mode debugger, however, is quite a different story.


>> What platform do you wish to learn assembly for? Dos/16bit,
>> windows/32bit, linux/32bit, windows/64bit, linux/64bit? :)
>
> Win32 and Linux, I use both extensively. It would be just nice to hit
> the hardware and learn much more of what is really going on. I
> haven't been coding for a long long time nearly 5 years now, so I
> need to ease myself in gently by getting stuck into assembler once
> again :-)

For win32, http://www.madwizard.org/dl.php?file=tutors.win32asm is
a good place to start. http://board.win32asmcommunity.net and
http://board.flatassembler.net are nice places as well. If you want
to use MASM, you can get it either "somehow from Microsoft" or from
www.masm32.com . For reasons that will be obvious if you check the
history of this group, I cannot recommend you to use the "masm32
library" nor use www.masmforum.com .

Have fun :)



.



Relevant Pages

  • Re: URGENT
    ... But I've got a pretty good imagination, and may be able to "see" how they'd look in a debugger without actually doing it. ... But as best as I can imagine how the'd work in RosAsm, ... Run the Assembler and this file to read its Source. ... hit (compile & execute in Debugger mode) and then ...
    (alt.lang.asm)
  • Library Design, the script kiddies nightmare.
    ... good across the board of assembler programming. ... With languages that have the capacity, libraries of reusable code make ... comes at a cost that some of the older assembler programmers will not ... The virtue of writing code in this modular format is that you can use ...
    (alt.lang.asm)
  • RosAsm V.2.045a is released
    ... * New Version of the Debugger, With Data Hints, new Right- ... Message ' Conditional macros Test:', ... True Assembler. ... Evoluated Structures Manager. ...
    (comp.lang.asm.x86)
  • RosAsm V.2.15a is released
    ... * New Version of the Debugger, With Data Hints, new Right- ... Message ' Conditional macros Test:', ... True Assembler. ... Evoluated Structures Manager. ...
    (alt.lang.asm)
  • Re: DPMI raw mode switch
    ... > 2F, and since that's how you begin any startup procedure with DPMI, it ... when writing DOS software I ... use the WD (Watcom Debugger) from the WATCOM C++ 11.0c compiler package. ...
    (alt.lang.asm)

Loading