Skip to content

Assembling your Program

Diogo Valadares Reis dos Santos edited this page Aug 28, 2025 · 4 revisions

Assembling your Program

After coding your assembly code you may want to build it to use in the simulations. For this you will need to use the assembler available in the ./DRISC Programs folder. There, you will find a collection of the compiled programs along with a shortcut to the assembler.

By default, your assembly code file should be stored under ./DRISC Programs/src folder with the .dasm extension.

Once you run the the assembler, you will be prompted with the current version, the folders that are being used, and finally the list of programs found in the folder.

image

If the program list is empty, the folder path may be wrong and you will need to change it. To do so, first go to the path where your programs are stored in the file explorer. Then copy the path, go back to the assembler, type f followed by Enter and then paste your folder path. The same goes for the output folder.

After the folders are configured properly, your programs should show up and you should choose an option typing the number of the program in the list. Once you have done that, information about the assembly process will be printed. In the pre-processing steps, you will usually see defines, macros, labels, and variables being added (to a dictionary) and then being swapped or translated in the code.

Clone this wiki locally