Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!gryphon!crash!elgar!ag From: ag@elgar.UUCP (Keith Gabryelski) Newsgroups: comp.unix.xenix Subject: MASM syntax for a far call. Message-ID: <62@elgar.UUCP> Date: 6 Feb 89 18:28:27 GMT Reply-To: ag@elgar.UUCP (Keith Gabryelski) Distribution: usa Organization: Elgar Corporation, San Diego, CA Lines: 28 I little while ago I posted some instructions on how to get System V Release 3 signal functions (sigset(), sighold(), sigpause() ...) for a SCO XENIX 2.3.1 system. I also posted some code explaining (unimplemented) select() for SCO XENIX and syscall(). In the assembly language routines I posted there were lines of the form: ; call far 7:0 ; Switch to kernel and call SYSNUM. db 9ah dw 0,0 dw 7 As you can see, I couldn't figure out the MASM assembler syntax for a far call. I used `db's instead. I was informed by a SCO hack [Brian Chapman] that what I did was similar to what is found in their source code. It seems the far call is hardly ever used in the SCO XENIX system and as such has never been fully implemented in the MASM assembler. Pax, Keith Ps, has anyone gotten any use out of the new signal functions? -- ag@elgar.CTS.COM Keith Gabryelski ...!{ucsd, crash}!elgar!ag