HLLs vs asm (was Re: portable "asm")

Bob Larson blarson at skat.usc.edu
Fri Mar 25 18:23:02 AEST 1988


In article <1600 at ogcvax.UUCP> pase at ogcvax.UUCP (Douglas M. Pase) writes:
>``C'' allows you to
>ignore types when you really want to,

The only way it allows you do do this is via unions, equivelent to
pascal's varient records.  Casts are (by definition) conversions,
while some seem silly and produce no code on many machines, they still
never allow you to "ignore types".  Pointers DO NOT violate this,
while it is possible to cast any pointer to a void or char pointer and
back, it is not required that the char pointer be meaningful.  (Ever
heard of "split I & D"?  How about extending this so char and int
storage are seperate?)

> plus it allows access to the "bare
>metal", etc.)

Are we talking about the same language?
-- 
Bob Larson	Arpa: Blarson at Ecla.Usc.Edu	blarson at skat.usc.edu
Uucp: {sdcrdcf,cit-vax}!oberon!skat!blarson
Prime mailing list:	info-prime-request%fns1 at ecla.usc.edu
			oberon!fns1!info-prime-request



More information about the Comp.lang.c mailing list