magic numbers

trb at masscomp.UUCP trb at masscomp.UUCP
Tue Mar 6 09:10:38 AEST 1984


I just think that it was really nice that whoever put in the #! feature
used the magic number 20443 for editable executables.  They used the
old 407 format for binary executables because it would have been hard
to type and noisy to print out (407 is ^G^A).

Seriously, 407 was a PDP11 Branch .+7 instruction, which was executed
to jump over the a.out header.

	Andy Tannenbaum   Masscomp Inc  Westford MA   (617) 692-6200 x274



More information about the Comp.unix.wizards mailing list