-In case of a list, only the first object of the list will be included following the previous rules The syntax in ASM or ARM mode is: /FileName
Note: To know how MASD looks for the FileName file, see the following section.
You can also include a complete object (prologue included) using INCLUDE or INCLOB. In ASM or ARM mode, use INCLUDE or INCLOB followed by a filename to include an object, in RPL mode, use INCLOB.
Filename conventions
MASD sometimes needs to find a file in the calculator’s memory. The file can be found either by specifying the file name and location, or only the file name to be search in the directory search list.
The initial directory search list contains the current directory, and all parents directory up to the HOME directory.
You can add a directory in the directory search list using !PATH+ RepName where RepName identifies a directory name using filename rules.
To specify a full path, use
H/ to specify HOMEDIR as the root.
x/ where x is a port number, to specify a port as root. Note: you cannot use 3 (SD card) here.
This root is followed by a list of directories, ending with the name of the file.
2/FOO/BAR/BRA specifies the BRA file in the BAR directory, stored in the FOO backup of port 2. H/ME/YOU specifies the YOU file in the ME directory, in the HOMEDIR.
Note: You cannot have more than 16 entries in the directory search path.
Compilation directive
The following instruction modifies the way MASD reacts and compiles things. They are valid in all modes:
Directive | Description |
|
!PATH+ DirName | Add the specified directory in the search path list. |
|
!NO CODE | 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. |
|
!DBGON | MASD will generate code when DISP or DISPKEY are found |
|
| in the source. |
|
!DBGOFF | MASD will not generate code when DISP or DISPKEY are |
|
| found in the source. |
|
Switch to |
| |
Switch to |
| |
!RPL | Switch to RPL mode. |
|
!ASM | Switch to ASM mode. |
|
!ARM | Switch to ARM mode. |
|
!FL=0.a | Clear the a compilation flag. |
|
!FL=1.a | Set the a compilation flag. |
|
!?FL=0.a | Compile the end of the line if flag a is set. |
|
!?FL=1.a | Compile the end of the line if flag a is clear. |
|
!ABSOLUT Addr | 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 !NO |
|
| CODE is set. |
|
!ABSADR Addr | If in absolute mode, add blank nibbles to continue at the |
|
| specified address. If not possible, errors. |
|
| The Development Library |