Description editThere are often several different machine-readable forms of output possible.
- Linkable, absolute location formats
- Nonlinkable, absolute location formats
- Linkable, relocatable formats
- Nonlinkable, relocatable formats
DKF: The #1 feature of assemblers is that they work out jump offsets and addresses for you. (I've done it by hand for the Z80, but it is very difficult.)The second feature of assemblers for some modern processors is that they can do certain kinds of ugly low-level peephole optimizations. Exactly how much varies, but even so.Third obvious feature is that they save you from having to look up each machine code word to use the instruction. :^)
CL: has been thinking about writing an explanation of why Tcl and assembly language can be good partners, a practice briefly described in, for example, Regular Expressions: Programming Down to the Silicon, by Cameron Laird and Kathryn Soraiz, 2004-02In the meantime, here's the Mac OS X Assembler Guide
See Also edit
- IA-32/x86 assembler in Tcl
- Assembly code example
- Playing Assembler
- for some 8080 memories...
- Tclas - an assembler
- x86 assembler with AT&Tish/gas syntax