How can one do inline assembler under Sys5?

Chuck Sites chuck at coplex.UUCP
Wed Mar 30 02:18:54 AEST 1988



   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 at coplex.UUCP               |/|  |   ___   |/|                      
| UUCP: {mit-eddie}!bloom-beacon!coplex!chuck   |/+  |  / / \  |/+
| FLAME ADDRESS: /dev/null                      |/   |  \/__/  |/
+-----------------------------------------------+    +---------+



More information about the Comp.unix.microport mailing list