This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


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

Re: Can't see what's wrong with my simulator semantics code....



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>


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