I've added support for several new CPUs:
- Intel 4004 with standard instructions
- Intel 4040 with standard instructions
- Intel 8008 with standard instructions
- Intel 8080 with standard instructions
- Intel 8085 with standard and undocumented instructions
There is a new setting "DebugCommand" which controls what debugger should be launched with the compiled program, if .setting "Debug", true is set.
The new -g command line option overrides the "Debug" setting to be True, so if Debug is normally not set, but there is a valid "DebugCommand" setting value and you launch the new Build & Debug command in VS Code, then the compiled program launches in your chosen debugger. Or you can just set up an emulator there and just launch the file without debugging while also saving the "debug.txt" file with the used global labels and memory addresses.
The updated Visual Studio Code Extension selfishly assigns default keyboard shortcuts to the Retro Assembler commands:
- The command Build is assigned to the keys Ctrl+Shift+B
- The command Build & Start is assigned to the keys Shift+F5 and also to F6
- The command Build & Debug is assigned to the key F5
These commands now save the active document before compiling.
See the documentation for details.
Download the latest version from the Retro Assembler page!