From 393556d2fc70dc0def5a6bb0463daf234ef23e36 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 17 May 2016 08:38:47 +0100 Subject: Added support for 24 bit address labels. * Also fixes bug where bank wasn't reset between passes. --- doc/casm.html | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'doc') diff --git a/doc/casm.html b/doc/casm.html index 2e95ccc..7696136 100644 --- a/doc/casm.html +++ b/doc/casm.html @@ -454,6 +454,41 @@ word
+

Options

+ +

The core of CASM supports the following options that can be set via the +option command. +

+ + + + + + + + + +
OptionDescription
+option address24, <on|off> + +Controls whether addresses have the current bank set in the high word, e.g. + +
+        org     $8000
+        bank    7
+
+        option  +address24
+label1: ; Label1 == $078000
+        
+        option  -address24
+label2: ; Label2 == $8000
+
+ +Note that the name is rather misleading; bank numbers are allowed to be greater +than 256. + +
+

Expressions

In any of the directives above, where a value is defined, an expression can -- cgit v1.2.3