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

Ben Elliston bje@redhat.com
Sat Jun 30 17:12:00 GMT 2001


>>>>> "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



More information about the Cgen mailing list