Path: utzoo!mnetor!uunet!husc6!bloom-beacon!coplex!chuck From: chuck@coplex.UUCP (Chuck Sites) Newsgroups: comp.unix.microport Subject: How can one do inline assembler under Sys5? Message-ID: <396@coplex.UUCP> Date: 29 Mar 88 16:18:54 GMT Organization: Copper Electronics, Louisville, Ky. Lines: 31 Keywords: inline assembler under Sys5 Could anyone out there tell me what the syntax is for the C compiler (cc) to do inline assembly lanuage under Unix System 5. Does this feature still exist or has it been removed by the purists? I can't find it anywhere in the documentation and yet the C compiler containd some error messages regarding the asm construct. Speaking of assembler under unix, does anyone one have documentation on the neumonics for the 286 & 386 asm codes? I've been able to figuare out most of the neumonics, but some of the assembler directives really puzzle me. Also in the same light of reporting undocumented things, here's one. The 'dis' command has an undocumented switch which may be useful to some. It's the -F parameter. It allows one to select a specific global function for examination when doing a 'dis'. dis -F function file +-----------------------------------------------+ +---------+ /:::::::::Copper Electronics Inc::::::::::::::::/| /:::::::::/| +-----------------------------------------------+/| +---------+/| | CHUCK SITES chuck@coplex.UUCP |/| | ___ |/| | UUCP: {mit-eddie}!bloom-beacon!coplex!chuck |/+ | / / \ |/+ | FLAME ADDRESS: /dev/null |/ | \/__/ |/ +-----------------------------------------------+ +---------+