{"id":16685327,"url":"https://github.com/wadaboa/computer-architectures-project","last_synced_at":"2025-07-31T23:07:03.210Z","repository":{"id":87170639,"uuid":"299275925","full_name":"Wadaboa/computer-architectures-project","owner":"Wadaboa","description":"Different algorithms implemented in MIPS assembly, for Computer Architectures class at UNIFI","archived":false,"fork":false,"pushed_at":"2020-09-28T15:11:28.000Z","size":856,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T14:42:17.488Z","etag":null,"topics":["ae","architetture-elaboratori","assembly","matrix-multiplication","mips","unifi"],"latest_commit_sha":null,"homepage":"","language":"Assembly","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/Wadaboa.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-28T10:43:19.000Z","updated_at":"2020-10-02T14:48:41.000Z","dependencies_parsed_at":"2023-03-12T18:45:48.186Z","dependency_job_id":null,"html_url":"https://github.com/Wadaboa/computer-architectures-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wadaboa/computer-architectures-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Fcomputer-architectures-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Fcomputer-architectures-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Fcomputer-architectures-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Fcomputer-architectures-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wadaboa","download_url":"https://codeload.github.com/Wadaboa/computer-architectures-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Fcomputer-architectures-project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268134056,"owners_count":24201378,"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-07-31T02:00:08.723Z","response_time":66,"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":["ae","architetture-elaboratori","assembly","matrix-multiplication","mips","unifi"],"created_at":"2024-10-12T14:46:58.752Z","updated_at":"2025-07-31T23:07:03.165Z","avatar_url":"https://github.com/Wadaboa.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computer Architectures project\n\nThis repository contains the implementation of three exercises, for the lab project of Computer Architectures class at UNIFI.\n\n## Usage\n\nIn order to run the exercises, download a MIPS simulator, like [MARS](http://courses.missouristate.edu/kenvollmar/mars/) or [QtSpim](http://spimsimulator.sourceforge.net/)\nand simply load them.\n\n## Exercises\n\n### 1. Strings analysis\n\nTranslates a given alphanumerical string into a sequence of '1', '2', '9' and '?' characters, by applying the following mapping:\n* The substring \"uno\" becomes '1'\n* The substring \"due\" becomes '2'\n* The substring \"nove\" becomes '9'\n* Everything else becomes '?'\n\nFor example, if the input string is \"uno due ciao 33 tree tre uno Uno di eci\" the output string will be \"1 2 ? ? ? ? 1 ? ? ?\".\n\n### 2. Nested and recursive procedures\n\nLet `G` and `F` be two procedures like the following:\n\n```\nProcedure G(n)\n  begin\n    b := 0\n    for k := 0, 1, 2, ... , n do \n    begin\n      b := b2 + u \n    end\n    return b \n  end\n```\n\n```\nProcedure F(n) \n  begin\n    if n = 0 then return 1\n    else return 2 * F(n − 1) + n \n  end\n```\n\nLet `n` be a natural number between 1 and 8. The software should output:\n* The value returned by `G(n)`\n* A trace of nested procedure calls and their intermediate results, for both `F` and `G`\n\n### 3. Matrix operations\n\nThe software should support 5 different commands:\n* _Matrix insertion_: Give the user the ability to insert a square matrix with dimensions between 1 and 4\n* _Matrix sum_: Sum two identically-sized matrices\n* _Matrix subtraction_: Subtract a matrix from another one with the same dimensions\n* _Matrix product_: Apply row by column product of two compatible matrices\n* _Exit_: Print an exit message and close the program\n\n## Assignment \u0026 report\n\nYou can have a look at both the project [assignment](assignment.pdf) and the written [report](report.pdf), but beware that they have been written in the Italian language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwadaboa%2Fcomputer-architectures-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwadaboa%2Fcomputer-architectures-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwadaboa%2Fcomputer-architectures-project/lists"}