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: apl at alum dot mit dot edu (Alan Lehotsky)
- Subject: Re: Can't see what's wrong with my simulator semantics code....
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 30 Jun 2001 12:12:00 -0700
- CC: cgen at sourceware dot cygnus dot com
- References: <p04330101b763b6596543.cygnus.local.cgen@[192.168.1.254]>
apl@alum.mit.edu (Alan Lehotsky) writes:
> cgen claims
>
> ERROR: read:array unknown option #\)
I'm not sure, but try '(and #xFFFF (srl rd 16))'...
I have statements like
(set-psw Rd (and Rd (inv (sll 1 (and Rs #xF)))))
which work.
(It's kind of annoying that guile doesn't have a manual.)
--
- Geoffrey Keating <geoffk@geoffk.org>