{"id":26395488,"url":"https://github.com/elemeants/lc3-virtualmachine","last_synced_at":"2025-08-28T02:49:17.607Z","repository":{"id":200782438,"uuid":"332336851","full_name":"Elemeants/Lc3-VirtualMachine","owner":"Elemeants","description":"Educational project and I choose the LC-3 CPU to make a virtual machine code that executes obj files.","archived":false,"fork":false,"pushed_at":"2021-01-29T03:34:38.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T11:18:02.974Z","etag":null,"topics":["c","lc3","lc3-assembly","lc3-vm","virtual-machine","vm"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Elemeants.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-01-24T00:29:59.000Z","updated_at":"2021-03-15T02:05:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b25c84e-50e6-461b-989e-88cd2c5b4ce9","html_url":"https://github.com/Elemeants/Lc3-VirtualMachine","commit_stats":null,"previous_names":["elemeants/lc3-virtualmachine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Elemeants/Lc3-VirtualMachine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elemeants%2FLc3-VirtualMachine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elemeants%2FLc3-VirtualMachine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elemeants%2FLc3-VirtualMachine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elemeants%2FLc3-VirtualMachine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Elemeants","download_url":"https://codeload.github.com/Elemeants/Lc3-VirtualMachine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elemeants%2FLc3-VirtualMachine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272424918,"owners_count":24932895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","lc3","lc3-assembly","lc3-vm","virtual-machine","vm"],"created_at":"2025-03-17T11:18:04.550Z","updated_at":"2025-08-28T02:49:17.415Z","avatar_url":"https://github.com/Elemeants.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LC-3 (Little Computer 3) Virtual Machine\n\nThe Lc3 is an educational CPU, that is not physically implemented, so as a personal educational project I made a virtual machine that can execute code targeted to the Lc3.\n\n## Prerequisites\nThere are no many prerequisites, only need a C compiler, CMake, and maybe make or visual studio, i test it with make.\n\n- GCC (Tested in gcc-4.6.3)\n- Make (Tested in GNU Make 4.2.1)\n- CMake \u003e= 3.1.0\n\n## Building project\n\nFist need to create a folder to save generated build files.\n\n```bash\nmkdir build \u0026\u0026 cd build\n```\n\nInside the build folder call cmake to the project.\n\n```bash\ncmake ../\n```\n\nNow you can build the project using cmake or any you want.\n\n```bash\ncmake --build .\n```\n\n## Usage\n\nCall the executable and as argument the path to the object file of your code.\n\n```bash\nlc3vm [obj-file]\n```\n\nA simulation log file will generate called \"lc3vm.log\", used to debug the application.\n\n## Based on\n\nI use the information provided in the next repository: [LC3-VM](https://github.com/justinmeiners/lc3-vm)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felemeants%2Flc3-virtualmachine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felemeants%2Flc3-virtualmachine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felemeants%2Flc3-virtualmachine/lists"}