diff --git a/syntax.md b/syntax.md index 9d1ac7f..842b95e 100644 --- a/syntax.md +++ b/syntax.md @@ -233,6 +233,7 @@ Sets compiler pragmas (options). ``` #PRAGMA _P_USE_LONG_JUMP 1 #PRAGMA _P_USE_IMMUTABLE_CODE 1 +#PRAGMA _P_USE_IMMUTABLE_CODE 0 //turn off pragma #PRAGMA _P_USE_CBM_STRINGS 1 ``` @@ -306,7 +307,7 @@ ENDSCRIPT ``` SCRIPT for i in range(256): - print(" !byte %d" % i) + print(" !8 %d" % i) ENDSCRIPT ``` @@ -319,7 +320,7 @@ SCRIPT angle = (i * 2.0 * math.pi) / 256.0 sine = math.sin(angle) value = int((sine + 1.0) * 127.5) - print(" !byte %d" % value) + print(" !8 %d" % value) ENDSCRIPT ``` @@ -331,7 +332,7 @@ SCRIPT # Reference variables in generated assembly print("lookup:") for i in range(64): - print(" !byte %d" % (i * 2)) + print(" !8 %d" % (i * 2)) print(" ; Table size is stored in |tableSize|") ENDSCRIPT ```