[TUHS] Design of the AT&T assembly syntax
fuz at fuz.su
Tue Oct 29 07:59:16 AEST 2019
On Tue, Oct 29, 2019 at 12:48:29AM +0300, Alexander Voropay wrote:
> Robert Clausecker <fuz at fuz.su>wrote:
> > The one thing in this chain I have never found is an AT&T style
> > assembler for x86 before ELF was introduced.
> There were alot of AT&T codebase ports to x86 architecture except Xenix:
> Microport, INTERACTIVE, Everex, Wyse e.t.c. using AT&T x86 syntax.
> I've tried Microport SystemV /386 (SysV R3.2). It uses COFF
> as format for executables:
> (Rather interesting kernel ABI/Call convention)
Nice find! It seems to use lcall to selector 7 for system calls. A
similar choice was made in 386BSD all the way through FreeBSD 2.2.8
where it was replaced with int $0x80 as in Linux.
> There were also SystemV R2 to i286 ports i.e.:
> with a.out binary format.
I'll have a look at that.
Thank you for the help!
() ascii ribbon campaign - for an 8-bit clean world
/\ - against html email - against proprietary attachments
More information about the TUHS