Re: getting good at assembly language



Ludwig wrote the following useful and helpful info -

>Well, one can churn out crap code no matter what application one's
>working on. And writing assembly entices to get dirty in your code
>easily (no typing, goto-coding, extensive macro usage, ...). OTOH, this
>allows to be really creative designing and writing algorithms and this
>is what makes asm so appealing.

Exactly, no constraints, except for your own stupidity, nice!

>> 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 :-)

>8) ... maybe if you wrote a kernel debugger. Using the Debug API under
>Win32 to write user land debuggers is not that difficult (also a lot of
>grunt work is involved, especially on the user interface side). If you
>want to play with a open-source Win32-debugger you may take a look at
>the one that comes with RosAsm and hack in the source code if you like.
>But don't forget to mail me your changes if you come up with something
>useful ;) [-- just be warned that the source is rather HLLish, probably
>not asm-worth from the point of view of most ala-posters]

Thanks for that, maybe I will aim towards a kernel debugger, I've
written kmd's in the past for nt4, so I've some idea of whats involved.
I got hold of the RosAsm Full package, as well as some others, but
I'll grab that debugger source and have a look!

>If you want to get down to the hardware I'd suggest writing Linux kernel
>modules :) One gets started rather quickly and there's not much overhead
>involved (in contrast to Windows).

I've looked very briefly at this, but I think I'll give it another go
along with learning win32 as it will help in some higher level design
methodolgy I should probably develop, if nothing else.

>A good reference:
>"The Linux Kernel Module Programming Guide" http://www.tldp.org/LDP/lkmpg/

Just got it now, fantastic!

>Regards,
>Ludwig

Cool name btw.

Josh

.



Relevant Pages

  • Re: Windbg: Disable user mode debugging
    ... is a subsystem meaning 32-bit Windows. ... the win32 subsystem runs is the place where the kernel debugger runs. ... The problem is /only/ on the target ...
    (microsoft.public.win32.programmer.kernel)
  • 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)
  • Re: difference between kernel debugger and KITL
    ... KITL is just the transport layer, and is used by more than just the ... Kernel Debugger that runs over it. ... you can get all the debug messages over KITL so it ... If kernel debugger requires KITL and would not work without KITL anyway, ...
    (microsoft.public.windowsce.platbuilder)
  • Windows CE 6.0 - USB Host Driver ohcd.dll Loading Issues
    ... PB Debugger The Kernel Debugger has been disconnected successfully. ... 2360 PID:400002 TID:410002 Initializing Memory Mapped File Support ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Top ten errors
    ... >> But the debugger issue hits one of my buttons. ... > writing functions or code snippets which are to be removed in the final ... thrown away (yes, even 'correct', working code). ... was the learning experience, not the code itself. ...
    (alt.comp.lang.learn.c-cpp)