{"id":17277633,"url":"https://github.com/joeyh021/patp","last_synced_at":"2025-08-15T19:16:43.096Z","repository":{"id":57674481,"uuid":"319650121","full_name":"Joeyh021/PATP","owner":"Joeyh021","description":"An assembler and emulator for the simple assembly language set out by the PATP specification.","archived":false,"fork":false,"pushed_at":"2022-05-14T23:46:14.000Z","size":63,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T16:47:11.190Z","etag":null,"topics":["assembly","emulator","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Joeyh021.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-08T13:40:18.000Z","updated_at":"2023-01-31T04:10:58.000Z","dependencies_parsed_at":"2022-08-29T15:42:03.044Z","dependency_job_id":null,"html_url":"https://github.com/Joeyh021/PATP","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Joeyh021/PATP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joeyh021%2FPATP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joeyh021%2FPATP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joeyh021%2FPATP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joeyh021%2FPATP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joeyh021","download_url":"https://codeload.github.com/Joeyh021/PATP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joeyh021%2FPATP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270617837,"owners_count":24617122,"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-15T02:00:12.559Z","response_time":110,"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":["assembly","emulator","rust"],"created_at":"2024-10-15T09:09:33.737Z","updated_at":"2025-08-15T19:16:43.059Z","avatar_url":"https://github.com/Joeyh021.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PATP toolkit\n\nThis is an assembler and emulator for the PATP (Pedagogically Advanced Teaching Processor), a simple microprocessor designed for teaching CS132 Computer Organisation and Architecture at The University of Warwick. The processor specification and assembly language documentation is outlined in [the specification](Specification.md).\n\n## Usage\n\nThe program can be installed with `cargo install patp` . If you don't already have cargo installed, see [here](https://www.rust-lang.org/tools/install) for instructions on how to install rust and cargo.\n\n- `patp emulate \u003cfile\u003e` will execute a binary file and return the final CPU state\n- `patp assemble \u003cfile\u003e` will assemble the `.patp` file and create a new binary file\n- `patp run \u003cfile\u003e` will assemble and then execute a file\n\nIf you'd prefer to download the source and compile yourself, clone the repo and run `cargo build`. `cargo test` will also run all the unit test, verifying the correctness of the assembler and emulator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeyh021%2Fpatp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeyh021%2Fpatp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeyh021%2Fpatp/lists"}