{"id":18520617,"url":"https://github.com/nerett/cpu","last_synced_at":"2025-05-14T17:13:26.184Z","repository":{"id":196370010,"uuid":"416063834","full_name":"nerett/cpu","owner":"nerett","description":"Software CPU model \u0026 emulator with registers, RAM and custom opcodes written in C","archived":false,"fork":false,"pushed_at":"2023-04-02T16:27:43.000Z","size":404,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T05:14:37.107Z","etag":null,"topics":["cpu-emulator","opcodes","ram","registers"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-10-11T19:42:59.000Z","updated_at":"2023-03-30T13:05:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"76019df5-76d9-47ef-93ff-76f983de8a58","html_url":"https://github.com/nerett/cpu","commit_stats":null,"previous_names":["nerett/cpu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerett%2Fcpu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerett%2Fcpu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerett%2Fcpu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerett%2Fcpu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerett","download_url":"https://codeload.github.com/nerett/cpu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190431,"owners_count":22029636,"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":["cpu-emulator","opcodes","ram","registers"],"created_at":"2024-11-06T17:21:29.963Z","updated_at":"2025-05-14T17:13:26.167Z","avatar_url":"https://github.com/nerett.png","language":"C++","readme":"# CPU\nThis project is an implementation of software cpu model, that consists of registers, RAM and stack and can execute compiled specific assembler code (specific machine code) with its built-in instructions. It automatically checks whether this code is supported or not. There are html logs from `stack` and from `cpu` itself (but they're not fully-featured unfortunately).\nThis project is written in C with some handy C++ adjustments.\n\n## Usage\nIf you've already built and added `cpu` to `$PATH`, run `cpu \u003cpath-to-machine-code\u003e` to execute a file with the machine code supported. Otherwise build the project and execute with `./Debug/cpu` or `make run` (from project root directory).\n\n## Building from source\nDownload this repository with\n\n```\ngit clone https://github.com/nerett/cpu.git\n```\n\nDownload dependencies with\n\n```\ncd cpu/\nmake install-dependencies\n```\n\n...or download the repositiries required manually.\n\nBuild the project\n\n```\nmake\n```\n\nRun Software CPU with (machine code file path is set to default)\n\n```\nmake run\n```\n\nor use `make rund` instead to run with `valgrind`.\nYou can also run this binary with\n\n```\n./Debug/cpu \u003cpath-to-machine-code\u003e\n```\n\nTo totally rebuild the project run\n\n```\nmake clean\nmake\n```\n\n## Documentation\nhttps://nerett.github.io/cpu/\n\n## About project\nThis programm was written during MIPT **Ded's** cource.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerett%2Fcpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerett%2Fcpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerett%2Fcpu/lists"}