Monday, February 19, 2007

GNU Assembler Documentation

Reading GNU assembler documentation this evening, and several bits of humor jumped out at me (emphasis mine):
  • result, size and value are absolute expressions. This emits repeat copies of size bytes. Repeat may be zero or more. Size may be zero or more, but if it is more than 8, then it is deemed to have the value 8, compatible with other people's assemblers. The contents of each repeat bytes is taken from an 8-byte number. The highest order 4 bytes are zero. The lowest order 4 bytes are value rendered in the byte-order of an integer on the computer as is assembling for. Each size bytes in a repetition is taken from the lowest order size bytes of this number. Again, this bizarre behavior is compatible with other people's assemblers. Link
  • Because as tries to assemble programs in one pass, new-lc may not be undefined. If you really detest this restriction we eagerly await a chance to share your improved assembler. Link
Believe me, this is funny stuff, relative to what I'm slogging through. ;)

No comments:

Blog Archive