This is an implementation of lc-3 assembler and emulator.
git clone --recurse-submodules https://github.com/Man-in-the-middl-e/lc3.git
- Implement lc3 assembler.
- Add build instructions.
- Implement lc3 emulator.
- Fix bugs.
- Add build instructions for Linux.
- Add debug and release builds
- Visual Studio Community 2019 Release, or any other VS compiler that supports C++20.
- CMake
mkdir build
cd build
cmake ..
cmake --build . --config Debug -j 18 --
- Press
Ctrl + Shift + P
, search forCMake: Build
and run it. - To run an lc3assembler or lc3emulator, you simiply need to, choose
Run Emulator
orRun Assembler
tasks, from VS code tasks(Ctrl + Shift + P, Run Task
)
mkdir build
cd build
cmake ..
make -j $(nproc)
cd build/lc3assembler
./lc3asm ../../programs/helloWorld -o ../../hello
cd build/lc3emulator
./lc3emulator ../../hello