| Article: |
Why Learning Assembly Language Is Still a Good Idea | |
| Subject: | Why learning assembly language is useful in like 1 case out of tens of thousands | |
| Date: | 2004-05-18 07:48:14 | |
| From: | Betelgeuse | |
|
I learned assembly language back in the 8 bit microcomputer era. I started on a Commodore 64 learning the 6502 processor and eventually graduated to an IBM PC learning 80x86 assembly. I retain a significant amount of information from this era. This has come handy a few times during my career when looking at mixed source/assembly. While at Microsoft (yes I spent time there) I had occasion to identify a bug in the Visual Studio debugger which would not have been possible without my previous experience. Debug points are set in the Intel 80x86 through an INT 9 software interrupt. The debugger needs to replace values in a code segment and when it ultimately handles the breakpoint needs to put back the values it overwrite. I had some C++ template code where clearly this was not happening.
|
||
Showing messages 1 through 1 of 1.
-
Why learning assembly language is useful in like 1 case out of tens of thousands
2004-05-27 11:17:49 belze [View]



It is true that these days virtual machines are becoming more and pore popular. But this doesn't remove the need to know how the computer operates. Virtual machine can be thought of as a type of a computer with its own assembler (called "bytecode" in JVM, i don't know how it is called in .NET). So for example failure to understand how JVM operates will result in bad Java code (many Java programmers don't know how to use a proper object allocation strategy to greatly improve the speed of Java programs and its memory usage, etc, etc.).