This is an assembly emulator for the assembly language shown in cambridge A level computer science. Find a list of instructions in instruction_list.txt. Find example code in the examples directory. Note there are a couple of extra instructions (which can only be used by specifying the '-extra' flag.
Known limitation: cannot make a label called 'B' or '#' since they indicate the start of a number
To build ala.exe you need either MSVC or gcc installed. To build in linux, use gcc.
Using MSVC:
- make a cmd instance
- find vcvarsall.bat (in a folder in visual studio files)
- run "vcvarsall.bat x64"
- go back to this directory (without closing cmd)
- run build.bat
Using gcc:
- run build_gcc.bat or build.sh
It is recommended to put ala.exe in a directory that is in the PATH if you want to use it frequently.
You can download pre-built binaries for ala.exe here.
A Level Assembly Emulator © 2024 by Víctor López Cortés is licensed under CC BY 4.0
String_View implementation for C provided by Alexey Kutepov (Tsoding)