This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Can't see what's wrong with my simulator semantics code....
- To: Alan Lehotsky <apl at alum dot mit dot edu>
- Subject: Re: Can't see what's wrong with my simulator semantics code....
- From: Ben Elliston <bje at redhat dot com>
- Date: Sun, 1 Jul 2001 10:12:11 +1000 (EST)
- Cc: Geoff Keating <geoffk at geoffk dot org>, cgen at sourceware dot cygnus dot com
- References: <p04330101b763b6596543.cygnus.local.cgen@[192.168.1.254]><jmr8w13hq7.fsf@geoffk.org><p04330106b763d3fb5b77@[192.168.1.254]>
>>>>> "Alan" == Alan Lehotsky <apl@alum.mit.edu> writes:
Alan> I found it. You were close... The '#' only is for
Alan> things like hex constants where it needs to be #x.
#d16 should work (d being for "decimal").
Alan> I didn't know about the direct immediate forms, but using
Alan> (const 16)
Alan> works like a charm.
As should just "16".
Cheers, Ben