This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GNU INTERCAL front-end for GCC?
- From: "Sam Lauber" <sam124 at operamail dot com>
- To: "Toon Moene" <toon at moene dot indiv dot nluug dot nl>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 26 Feb 2005 18:54:35 +0100
- Subject: 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