{"id":13472974,"url":"https://github.com/jameslzhu/riscv-card","last_synced_at":"2026-03-14T22:25:57.614Z","repository":{"id":55567138,"uuid":"105808018","full_name":"jameslzhu/riscv-card","owner":"jameslzhu","description":"An unofficial assembly reference for RISC-V.","archived":false,"fork":false,"pushed_at":"2024-11-12T01:12:39.000Z","size":537,"stargazers_count":478,"open_issues_count":2,"forks_count":59,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-26T17:42:24.274Z","etag":null,"topics":["asm","berkeley","isa","latex","reference","riscv"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jameslzhu.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":"2017-10-04T19:14:11.000Z","updated_at":"2025-03-18T23:00:53.000Z","dependencies_parsed_at":"2024-01-16T07:22:16.655Z","dependency_job_id":"ae6dc449-1c5b-4064-97d3-5bfc359c434f","html_url":"https://github.com/jameslzhu/riscv-card","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jameslzhu/riscv-card","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslzhu%2Friscv-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslzhu%2Friscv-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslzhu%2Friscv-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslzhu%2Friscv-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jameslzhu","download_url":"https://codeload.github.com/jameslzhu/riscv-card/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslzhu%2Friscv-card/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30519917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-14T19:51:21.629Z","status":"ssl_error","status_checked_at":"2026-03-14T19:51:12.959Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["asm","berkeley","isa","latex","reference","riscv"],"created_at":"2024-07-31T16:00:59.673Z","updated_at":"2026-03-14T22:25:57.596Z","avatar_url":"https://github.com/jameslzhu.png","language":"TeX","funding_links":[],"categories":["TeX"],"sub_categories":[],"readme":"# RISC-V Reference Card\n\nAn unofficial reference sheet for RISC-V, the free and libre instruction set from Berkeley. ([**PDF**][pdf]).\n\n## Compiling\n\nCompile the root document `riscv-card.tex` with [LaTeX][latex] from your system's\nstandard TeX distribution (TeX Live / MikTeX):\n\n```sh\npdflatex riscv-card.tex\n```\n\nOr with [tectonic][tectonic]:\n\n```sh\ntectonic riscv-card.tex\n```\n\n## What's inside?\n\n- The base 32-bit ISA (RV32I), with opcode values and C-like descriptions\n- Standard ISA extensions (currently only targeting the RVI20 standard profile)\n- Register aliases and calling conventions\n- Pseudoinstructions\n\nOther information from the more official reference cards not specific to the\nISA, like the stack/heap memory layout, IEEE 754 floating-point layout, and size\nprefixes, have been omitted.\n\n## Why?\n\nIn RISC tradition, the assembly reference for [MIPS][mips-green-sheet]\nand [RISC-V][riscv-card] fits onto a single double-sided 'Green Sheet'.\n\nWhen I took [CS 61C][cs61c] at UC Berkeley in 2017, we were the first semester taught\nusing RISC-V, and our reference card scans from our [RISC-V textbook][patterson-hennessy]\nwere low-quality. I wanted a card I didn't have to squint at, so I typeset it in LaTeX.\n\nThis little reference has grown well past a double-sided page, but if you still want\nthe original you can print the first and last pages for the asm opcodes and calling convention.\n\n## Contributing\n\nThis repository is not actively developed, but pull requests are accepted for\nfixes, new ISA standard extensions, style improvements, or other such changes.\nPlease include a rebuilt PDF binary in your pull request.\n\nPrint-friendly format is preferred, when possible: legible font sizes, clean\npage breaks and full letter page width usage.\n(A4 support may be a good thing to check.)\n\nSome ideas if you are truly motivated:\n\n- RISCV64 64-bit ISA support\n- Directly parsing the spec, banishing typos forever\n- Build system to select binary or hex instruction opcodes\n\n## Licensing\n\nThis work is licensed under the Creative Commons [CC-BY-4.0][CC] license.\n(See LICENSE for the full text.)\n\nIn brief, feel free to use this for your own purposes, as long as you credit\nme, and don't restrict others. (Again, read the license for the specifics.)\n\nThis work is adapted from the RISC-V Instruction Set Manual, available at\n[https://riscv.org/specifications/][RV] and licensed\nunder the Creative Commons [CC-BY-4.0][CC] license.\n\n[pdf]: https://github.com/jameslzhu/riscv-card/releases/download/latest/riscv-card.pdf\n[RV]: https://riscv.org/specifications \"RISC-V spec\"\n[CC]: https://creativecommons.org/licenses/by/4.0/ \"CC-BY-4.0\"\n[cs61c]: https://cs61c.org/\n[patterson-hennessy]: https://www.elsevier.com/books/catalog/isbn/9780128203316\n[riscv-card]: https://inst.eecs.berkeley.edu/~cs61c/resources/RISCV_Green_Sheet.pdf\n[mips-green-sheet]: https://inst.eecs.berkeley.edu/~cs61c/resources/MIPS_Green_Sheet.pdf\n[latex]: https://www.latex-project.org/get/\n[tectonic]: https://tectonic-typesetting.github.io/en-US/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameslzhu%2Friscv-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameslzhu%2Friscv-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameslzhu%2Friscv-card/lists"}