3 ms·
Section 7 of the Programmer's Reference is the stuff of nightmares: "This chapter describes the Cmacro macros, a set of assembly-language macros that can be us
by pavlov 10y ago
Section 7 of the Programmer's Reference is the stuff of nightmares:
"This chapter describes the Cmacro macros, a set of assembly-language macros that can be used with the Microsoft Macro Assembler (MASM) to create assembly-language Windows applications."
- pjmlp 10y agoMS-DOS macro assemblers were quite powerful, thanks to their macro languages, you could program almost in an pseudo high level language. Once I ported something to GNU as and was quite surprised how bare bones it was. Not to mention that I hope never to write AT&T syntax ever again.
- problems 10y agoYeah, Microsoft's macro assembler (MASM) is still quite popular in some circles. ... okay, most of those circles are probably people writing cracks and game cheats.
- nikanj 10y agoThe demoscene is another big one.
- pavlov 10y agoYou're right. The code example given in the ancient Windows manual for an assembly "bitblt" function seems kind of reasonable, thanks to the macros. The thing that gives me the most shudders is the weird memory models (small, middle, large, compact, huge?) and all that manual management of those funky x86 registers.
- pjmlp 10y agoActually since I am old enough to know x86 Assembly since 8086, that way of programming feels natural to me. I have tried to play with ARM Assembly, just for fun, and it isn't the same thing.