joe@petsd.UUCP (Joe Orost) (09/25/84)
<> 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
jab@uokvax.UUCP (09/28/84)
#R:petsd:-35600:uokvax:3000039:000:596 uokvax!jab Sep 27 20:59:00 1984 /***** uokvax:net.lang.c / petsd!joe / 6:21 pm Sep 25, 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 left out the most obvious one: drop in in-line object code. Everyone knows that you should use C as you would an assembly language, and so you should be able to say .word 23 .word 343 in the middle of the program, thus giving some object code to be included at that point :-) Come off it! "C" is NOT PL/360, and let's not try to make it into such. Jeff Bowles Lisle, IL
jejones@ea.UUCP (09/29/84)
/***** ea:net.lang.c / uokvax!jab / 8:59 pm Sep 27, 1984 */ Come off it! "C" is NOT PL/360, and let's not try to make it into such. /* ---------- */ No, it isn't PL360. It's PL11. James Jones