This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GNU INTERCAL front-end for GCC?


> > (2) -> Some of us would like DO .1 <- #0
> >
> > to be translated into movl $0, v1
v1 is the name of a variable.  Needed because the manual 
says that each variable namespace (meshes, spots, tails, 
what-have-yous, hybrids) has 65535 variables!!!  I don't 
know of any machine that has 65535+65535+65535+65535 regs.  
We have to use asm variables.  
> I've no idea for what target that would be valid assembler, but for 
x86.  
> the VAX it would be:
> 
> 	movzwl	#0, r1
> 
> .1 is a 16-bit variable, and nowhere in the INTERCAL documentation 
> I've found evidence that assigning to a 16-bit variable means: Set 
> the lower 16 bits of this 32-bit variable to <some-value>.
> 
> BTW, success !
-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]