Assembly Language Programming: Still Relevant Today (2015)
wilsonminesco.com
Assembly Language Programming: Still Relevant Today (2015)
1–10 of 100 posts
Re: Assembly Language Programming: Still Relevant Today (2015)
#2Re: Assembly Language Programming: Still Relevant Today (2015)
#3Re: Assembly Language Programming: Still Relevant Today (2015)
#4This is like being an architect and noticing that bricks and cement are still relevant... Of course they are!
Re: Assembly Language Programming: Still Relevant Today (2015)
#5It yields the only control and execution. Almost programs are generated through an assembler and assembly language. How could it possibly not be relevant?
Re: Assembly Language Programming: Still Relevant Today (2015)
#6Part of my motivation for this was to have an assembler that ran in the browser (for my fantasy console that also runs in the browser), but another big part of it was to write an assembler designed to be more friendly to people writing assembly directly.
When I wrote 6502 asm I mostly did it from Supermon which is a no frills experience. It's nice to see the features that assemblers have now, I think I'll be implementing quite a few of those macros from this link in my own assembler.
Re: Assembly Language Programming: Still Relevant Today (2015)
#7I have read that self-modifying code on the x86 architecture is pretty dangerous at the assembly level.
More broadly, this kind of comes back to all the issues in the "C is not a low level language" thread. Some level of assembler certainly gives the programmer as full access to the machine as possible. But naive assembler from the 8086 - 80486 eras is going to be rearranged in a lot of ways in a modern Pentium processor and counting on in-order execution may be a mistake.
Edit: at the same time, the modern processor doesn't really allow a lower level than assembler normally and the default approach is assuming flat memory but being aware of the pitfalls of multiple caches being involved.
Re: Assembly Language Programming: Still Relevant Today (2015)
#8Re: Assembly Language Programming: Still Relevant Today (2015)
#9"...self-modifying code, [is] sometimes appropriate to solve certain problems that have no other solution, or for improving efficiency, as in double-indirect addressing." I have read that self-modifying code on the x86 architecture is pretty dangerous at the assembly level. More broadly, this kind of comes back to all the issues in the "C is not a low level language" thread. Some level of assembler certainly gives th…
Dangerous in what way?
Re: Assembly Language Programming: Still Relevant Today (2015)
#10"...self-modifying code, [is] sometimes appropriate to solve certain problems that have no other solution, or for improving efficiency, as in double-indirect addressing." I have read that self-modifying code on the x86 architecture is pretty dangerous at the assembly level. More broadly, this kind of comes back to all the issues in the "C is not a low level language" thread. Some level of assembler certainly gives th…
Why's that? I'm not aware of any issues specific to x86.