{"id":23092355,"url":"https://github.com/chungquantin/lc3-vm","last_synced_at":"2025-08-16T10:30:48.260Z","repository":{"id":203027807,"uuid":"707791978","full_name":"chungquantin/lc3-vm","owner":"chungquantin","description":"little computer 3 (lc3) virtual machine written in Rust","archived":false,"fork":false,"pushed_at":"2023-10-25T01:56:28.000Z","size":28,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-08T21:41:38.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/chungquantin.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-20T17:05:43.000Z","updated_at":"2024-02-02T11:39:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"995510f1-8426-415a-99fc-cfdd9f368427","html_url":"https://github.com/chungquantin/lc3-vm","commit_stats":null,"previous_names":["lowlevelers/lc3-vm","chungquantin/lc3-vm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chungquantin%2Flc3-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chungquantin%2Flc3-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chungquantin%2Flc3-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chungquantin%2Flc3-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chungquantin","download_url":"https://codeload.github.com/chungquantin/lc3-vm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230028327,"owners_count":18161887,"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","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":[],"created_at":"2024-12-16T21:32:17.056Z","updated_at":"2024-12-16T21:32:17.709Z","avatar_url":"https://github.com/chungquantin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Little Computer 3 (LC3) Virtual Machine (by @lowlevelers)\n## What is Little Computer 3?\nLittle Computer 3, or LC-3, is a type of computer educational programming language, an assembly language, which is a type of low-level programming language.\n\nIt features a relatively simple instruction set but can be used to write moderately complex assembly programs, and is a viable target for a C compiler. The language is less complex than x86 assembly but has many features similar to those in more complex languages.\n## Experiment\nThis project is a Little Computer 3 virtual machine written in Rust programming language. It follows the online guide from [Write your Own Machine](https://www.jmeiners.com/lc3-vm/) by Justin Meiners and Ryan Pendleton. The virtual machine components are organized as below:\n\n| Filename    | Description |\n| -------- | ------- |\n| main.rs  | Program entry point for image loader and simple CLI implementation  |\n| cpu.rs | Implementation of a virtual CPU or virtual machine     |\n| instruction.rs    | Declaration of the enumeration of instructions    |\n| trap.rs    | Declaration of the enumeration of trap routine    |\n| register.rs    | Registers and conditional flags    |\n| constant.rs    | Constants    |\n\n\n## Reference \n- [LC3 instruction set architecture (ISA)](https://www.jmeiners.com/lc3-vm/supplies/lc3-isa.pdf)\n- [lc3-vm in C++](https://github.com/justinmeiners/lc3-vm/)\n- [LC-3-Rust: LC3 virtual machine written in Rust](https://github.dev/digorithm/LC-3-Rust/)\n- [Lecture from University of Texas](https://www.cs.utexas.edu/users/fussell/courses/cs310h/lectures/Lecture_10-310h.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchungquantin%2Flc3-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchungquantin%2Flc3-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchungquantin%2Flc3-vm/lists"}