Any good free books out there on writing good assembly code? I can't seem to find any.
Name:
Anonymous2007-01-20 11:55
Your C compiler is already very good at producing assembly, and the effort required to beat it isn't worth it. On the other hand, if YOU are writing a compiler, for whatever language, then the processor manufacturer will have guides.
Name:
Anonymous2007-01-20 12:17
Getting into reverse engineering (with various web references for looking up the codes) will usually teach you exactly what does what and why. The problem with most books is that they focus on high level assembly (HLA), and if you're getting into automation why the fuck not use c?
Name:
932007-01-20 16:11
most learn assembly, because they _have_ to for school.
oh how many lectures have i heard from instructors/professors that go like this.. "in my day... (pregnant pause).. we didnt have these (insert tone of insinuation) high level languages. i had to wait (insert number of days--at least 5 days) to even get to walk down the hall with my punch cards, which were in octal.. etc etc blah blah"
Name:
Anonymous2007-01-20 16:31
Assembly is fun... teaches you a bit about memory management and all that good gooey low level stuff.
Of course, if you're in programming to make money, assembly really isn't the thing for you, but if you're in it for fun, then well have fun.
Here's a page from Totse that I always love using with Windows DEBUG. Ponder your head on that code for a while.
Oddly, the books that came with Borland's Turbo Assembler, back in the day, were pretty good.
Another good resource back then was Ralf Brown's interrupt list and the book that came into being from it, "Undocumented DOS".
The Intel manuals, themselves, were of course indispensable.
Tom Swan's "Mastering Turbo Assembler" was an excellent book for beginners.
Name:
Anonymous2007-01-21 15:35
What's a good WAY to learn assembly?
By that I mean... if you make a serious boo-boo executing your ASM code, you might have to reboot your system. Are there any kind of sandbox type things to practice assembly? Maybe Turbo Assembler in DosBox?
No it happened to me, I tried learning it once and my noobishness kept crashing the computer. That was Win98 though, so maybe WinXP (and Linux... I haven't tried Linux assembly but I'm sure it's not that different, a Pentium is a Pentium after all) can catch my stupidity better?
Indeed, you usually have to have a goal of crashing the system to make it go down on XP with user mode applications.
The big thing about crashing the system all the time is when the person is creating device drivers. That's when you have to try hard not to crash it.
Name:
Anonymous2007-01-22 5:50
>>12
You crashed Windows 98 because it sucks. Decent OSes allow every process a protected environment (user mode); if you fuck up, you fuck up your process, never other processes or the system. On the other hand, all your hardware access is virtualized. The only way to have direct hardware access and do shit like CLI is in device drivers, which run in the ring 0 and may fuck up the entire system if they don't work properly.
Name:
Anonymous2009-01-14 14:17
Vim
Name:
Anonymous2009-03-06 7:23
Crashing the computer That deliberately goes out of its way to becoming a real meme by creating this shitty language has fuckwin awesome libraries that do all of the beautiful colors are very very meaningful Grey is my favorite color I felt so symbolic yesterday If I knew Picasso I would buy myself a gray area that is locate instructions on for how to you pronounce format.