6-14 The Development Library
4.1.13 Compilation directive
The following instruction modifies the way MASD reacts and compiles things. They are valid in all modes:
•2B:;'!4tj=$o)!
Add the specified directory in the search path list.
•=L!OL4<!
MASD will not generate a $02DCC prologue but will directly output
the data. If the generated file is not a valid object, an error will be
generated.
•4S>L=!
MASD will generate code when!46D2 or!46D2r<P are found in
the source.
•4S>L77!
MASD will not generate code when 46D2 or 46D2r<P are found
in the source.
•303c!
Switch to 1-16 mode.
•303Q!
Switch to 0-15 mode.
•K2E!
Switch to RPL mode.
•BDM!
Switch to ASM mode.
•BKM!
Switch to ARM mode.
•7E[8d$!
Clear the a compilation flag.
•7E[3d$!
Set the a compilation flag.
•b7E[8d$!
Compile the end of the line if flag a is set.
•b7E[3d$!
Compile the end of the line if flag a is clear.
•BSDLE5:!B((j!
Switch to absolute mode. The program begins at the address Addr.
Note: MASD always considers the prolog $02DCC and code length
to be the beginning of the program even if
•=L!OL4< is set.
•BSDB4K!B((j!
If in absolute mode, add blank nibbles to continue at the specified
address. If not possible, errors.
•<N<=!
In absolute mode, cause an error if the directive is not on an even
address.
•B4K!
MASD will generate a source defining all constants and labels used in
the program instead of the program.
•OLM2<T2!
Cause MASD to calculate all previous expressions.
•D:B:!
Display/update compilation statistics
•4S>6=7!
Causes MASD to generate debugging information (see next section
for more information)
•_BJJ!
See local variable documentation in RPL mode
•MBD4!
See local variable documentation in RPL mode
4.1.13.1 The !DBGINF directive
If you put the
•4S>6=7 directive into a MASD source, the assembler not only generates your compiled object, but
it also returns a string (on level 1) full of debug information. The structure of this string is as
follows:
5 DOCSTR
5 Length
5 Number of links (source files)
n*[
2 Number of characters
.. Name of link file
]
5 Number of symbols (labels and constants)
n*[
2 Number of characters
.. Name of symbol