LINUX
VIREX SETUP¶
-
Clone this repo
-
Build the project (requires
sudo) -
Run VIREX
bash commands
UI doesn't render properly
If the TUI doesn't render properly, try adjusting your terminal font size.
If that doesn't help, you can tweak layout values in src/VM/vm_tui.c::CreateWindows(). The constants used are defined as percentages of the screen dimensions.
P.S. kitty terminal config, and font used, are available in
/tools
Execute Sample Programs¶
- Setup and Execute Virex (In the Sample Programs DIR)
-
Select "Assemble and Execute the Simulated Assembly Code"
Note
⌨️ use Arrow keys for navigation in menu.
-
Enter the file names (Ex.
helloWorld.sasmandhelloWorld.sm) - Choose 2. ( 1 for executing in step mode )
Activate the syntax highlighter in VS Code¶
- Open VS Code
- Press
Ctrl + Shift + P - Type:
Preferences: Color Theme -
Select:
Palenight+sasmExample
🎨 Open any
.sasmfile in vs code to see the syntax highlighter at work!