htmos6 / Virtual-Machine

Implementation of an LC3 Virtual Machine with a Simple Operating System (OS) that Executes Assembly Language Programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual-Machine

To run the program with a command-line argument in Visual Studio and debug it with command-line parameters, follow these steps:

1 - Open Project Properties: Right-click on the project node in the Solution Explorer and select Properties.

2 - Navigate to Debugging Settings: In the project properties window, go to the Debug tab or section.

3 - Specify Command-Line Arguments: Look for the Command Arguments field within the Debugging settings. This is where you can provide command-line arguments to your program.

4 - Enter Command-Line Argument: In the Command Arguments field, enter the command-line argument you want to use. For example, if you want to run 2048.obj file in your Virtual Machine as an argument, provide fullp path to that section. Like "C:\Users\User\Downloads\2048.obj" into the field.

5 - Save Changes: After entering the command-line argument, save the changes to the project properties.

6 - Debug the Program: Now, when you debug your program in Visual Studio, it will automatically pass the specified command-line argument (-2048.obj in this case) to your program.

By setting the command-line arguments in the project properties, Visual Studio will pass these arguments to your program every time you run it in debug mode, allowing you to debug your program with the specified command-line parameters.

Control Game with WASD Keys

GAME : 2048

image

image

image

GAME : Rogue

image

image

image

About

Implementation of an LC3 Virtual Machine with a Simple Operating System (OS) that Executes Assembly Language Programs.

License:MIT License


Languages

Language:C++ 100.0%