Can't do in C

Joe Orost joe at petsd.UUCP
Wed Sep 26 00:24:26 AEST 1984


<>
I am creating a list of the things that most computers can do (in an
assembly language program), but you can't do them in C.

You see, I am trying not to use assembler language anymore, because most
programs can be written in C instead and can be almost as efficient except
for the following items that C hides from me.

Here is my list so far:

   Rotate Left/Right.  Suggest "<|" and "|>" syntax.
   Multiple conditional jump from single condition.
   Exchange shorts within a long; bytes within a short.
   32-bit * 32-bit => 64-bit.
   64-bit / 32-bit => (32-bit answer, 32-bit remainder).
   Inline assembler instructions, with full access to register variables.
   Carry out from add, borrow from subtract, bit shifted out from shift.
   ADD/SUBtract with carry, negate with carry.
   Multiple entry points into a routine.
   Single precision floating point.

Do you have any more?  Please respond via mail.  I will sort them out into
features and optimizations, and will post the results.

					regards,
					joe

--
Full-Name:  Joseph M. Orost
UUCP:       ..!{decvax,ucbvax,ihnp4}!vax135!petsd!joe
US Mail:    MS 313; Perkin-Elmer; 106 Apple St; Tinton Falls, NJ 07724
Phone:      (201) 870-5844



More information about the Comp.lang.c mailing list