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?


Sam Lauber wrote:

(2) -> Some of us would like

DO .1 <- #0

to be translated into

movl $0, v1

I've no idea for what target that would be valid assembler, but for 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 !

--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/


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