OSDN Git Service

* doc/rtl.texi: Document how to write hex and boolean values.
authordevans <devans>
Wed, 19 Aug 2009 02:47:13 +0000 (02:47 +0000)
committerdevans <devans>
Wed, 19 Aug 2009 02:47:13 +0000 (02:47 +0000)
cgen/ChangeLog
cgen/doc/rtl.texi

index c7ed689..c2bd845 100644 (file)
@@ -1,5 +1,7 @@
 2009-08-18  Doug Evans  <dje@sebabeach.org>
 
+       * doc/rtl.texi: Document how to write hex and boolean values.
+
        * gas-test.scm (<hw-asm>, test-data): Handle () values.
        (<keyword>, test-data): Convert symbols to strings before passing
        to string-append.
index c8153ae..bada47a 100644 (file)
@@ -128,6 +128,9 @@ first newline).}.
 @item Everything is case sensitive.@footnote{??? This is true in RTL,
 though some apps add symbols and convert case that can cause collisions.}
 @item While "_" is a valid character to use in symbols, "-" is preferred
+@item Hex numbers are written using Scheme's notation.
+Write 255 in hex as #xff, not 0xff.
+One can also use #bNNN to write boolean values.  E.g. #b111 == 7.
 @item Except for the @samp{comment} and @samp{attrs} fields and unless
 otherwise specified all fields must be present.
 @item Symbols used to be allowed anywhere a string can be used.