{"id":21448457,"url":"https://github.com/andresberejnoi/cpu_simulation","last_synced_at":"2026-05-19T11:12:02.371Z","repository":{"id":106521243,"uuid":"107803676","full_name":"andresberejnoi/CPU_simulation","owner":"andresberejnoi","description":"A virtual CPU (32-bit and 16-bit), simulated using C with a custom-made assembly-language","archived":false,"fork":false,"pushed_at":"2019-11-09T15:55:03.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T11:46:38.375Z","etag":null,"topics":["16-bit-assembly","16-bit-cpu","assembler","assembly","c","comporg","computer-organization","cpu-emulator","simulation"],"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/andresberejnoi.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":"2017-10-21T18:03:23.000Z","updated_at":"2024-03-26T20:36:28.000Z","dependencies_parsed_at":"2023-07-16T02:46:14.862Z","dependency_job_id":null,"html_url":"https://github.com/andresberejnoi/CPU_simulation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresberejnoi%2FCPU_simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresberejnoi%2FCPU_simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresberejnoi%2FCPU_simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresberejnoi%2FCPU_simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andresberejnoi","download_url":"https://codeload.github.com/andresberejnoi/CPU_simulation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960664,"owners_count":20375104,"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":["16-bit-assembly","16-bit-cpu","assembler","assembly","c","comporg","computer-organization","cpu-emulator","simulation"],"created_at":"2024-11-23T03:15:33.956Z","updated_at":"2026-05-19T11:11:57.323Z","avatar_url":"https://github.com/andresberejnoi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"#   Custom CPU Simulation\n\nThis project simulates a processor (16 and 32 bit) and it is a work in progress. The main goal of the project is to learn more\nabout computer architecture. There are some sample assembly language programs as well as their assembled versions.\n\n## Generate CPU executable\nRun make inside the CPU32 directory to generate the executable 'computer'\n\n## How to Assemble Code\n\nTo turn assembly into machine language, use the script asm_parser_vxxx.py (The x's represent versions):\n\n```sh \npython asm_parser_v0.4.py \u003csource code\u003e \u003coutput file\u003e\n```\n\n## How to run the CPU:\n\nTo run the simulation, simply do:\n\n```sh\n./computer \u003cinput assembled program\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresberejnoi%2Fcpu_simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandresberejnoi%2Fcpu_simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresberejnoi%2Fcpu_simulation/lists"}