{"id":20975952,"url":"https://github.com/banyc/mips","last_synced_at":"2025-03-13T09:18:54.398Z","repository":{"id":117847065,"uuid":"258300369","full_name":"Banyc/MIPS","owner":"Banyc","description":"MIPS Compiler + Virtual Machine","archived":false,"fork":false,"pushed_at":"2020-11-28T06:42:12.000Z","size":2639,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T05:49:05.563Z","etag":null,"topics":["compiler","cross-platform","education","homework","interpreter","mips","simulation","toolkit","virtual-machine"],"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/Banyc.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":"2020-04-23T18:48:19.000Z","updated_at":"2020-11-28T06:45:46.000Z","dependencies_parsed_at":"2023-07-12T16:45:28.284Z","dependency_job_id":null,"html_url":"https://github.com/Banyc/MIPS","commit_stats":{"total_commits":65,"total_committers":1,"mean_commits":65.0,"dds":0.0,"last_synced_commit":"b054835525a30e4a3305388669c9e72fdb6c4002"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2FMIPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2FMIPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2FMIPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2FMIPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Banyc","download_url":"https://codeload.github.com/Banyc/MIPS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243374326,"owners_count":20280661,"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":["compiler","cross-platform","education","homework","interpreter","mips","simulation","toolkit","virtual-machine"],"created_at":"2024-11-19T04:48:11.949Z","updated_at":"2025-03-13T09:18:54.375Z","avatar_url":"https://github.com/Banyc.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MIPS\n\n## Introduction\n\n![](img/2020-06-19-21-34-09.png)\n\n## Features\n\nLog changes:\n\n![](img/2020-09-03-11-08-08.png)\n\n## Run\n\n1. Set `pwd` to `src/MIPS.Organizer/`\n1. Run command `dotnet run`\n1. Follow the instructions\n\n### Try existing MIPS code\n\n1. do the instructions above\n1. type the following to load MIPS code:\n\n    ```\n    a tests/fib.asm\n    ```\n\n1. type `s` to do the step-by-step debug\n1. type `c` to continue running until it hits `halt` instruction\n\n## Environment\n\nYou will need .NET Core SDK to build and run this code.\n\nDownload link: \u003chttps://dotnet.microsoft.com/download/dotnet-core\u003e.\n\n## Grammar\n\nDue to complexity and current demand, full MIPS code grammar is not supported. For those currently supported instructions, see sections below.\n\nCode segment is parsed directly. No segment label is needed.\n\nData segment is parsed in the following manner:\n\n```\n# data begin\n# 1024 2\n# 00111111 10000000 00000000 00000010\n# 01000000 00000000 00000000 00000100\n# 11111111 00000000 00000000 00000000\n# 00000000 10000000 00000000 00000000\n# data end\n```\n\n- `1024` := start from address 1024\n- `2` := binary code\n- `00111111` := the first byte from the starting address\n- bytes should be divided either by spaces or by new line\n- no partial byte is allowed\n\n## Currently Supported Instructions\n\nGo to [`README.md`](./src/MIPS.Simulator/README.md) under directory `MIPS.Simulator`.\n\n## TODO\n\n- [ ] Add project for RISC V.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanyc%2Fmips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanyc%2Fmips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanyc%2Fmips/lists"}