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

Geoff Keating geoffk@geoffk.org
Sat Jun 30 11:55:00 GMT 2001


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>



More information about the Cgen mailing list