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


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


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