{"id":18781898,"url":"https://github.com/takenobu-hs/cpu-assembly-examples","last_synced_at":"2025-04-12T12:43:25.304Z","repository":{"id":65494741,"uuid":"362804276","full_name":"takenobu-hs/cpu-assembly-examples","owner":"takenobu-hs","description":"CPU assembly examples","archived":false,"fork":false,"pushed_at":"2024-05-19T06:55:01.000Z","size":179,"stargazers_count":79,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T07:22:34.107Z","etag":null,"topics":["arm","assembly","cpu","risc-v","x86"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takenobu-hs.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":"2021-04-29T12:08:54.000Z","updated_at":"2025-02-18T18:56:05.000Z","dependencies_parsed_at":"2024-11-07T20:36:44.655Z","dependency_job_id":"46dcc937-c5c7-48bb-95cf-a13e6a349f23","html_url":"https://github.com/takenobu-hs/cpu-assembly-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takenobu-hs%2Fcpu-assembly-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takenobu-hs%2Fcpu-assembly-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takenobu-hs%2Fcpu-assembly-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takenobu-hs%2Fcpu-assembly-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takenobu-hs","download_url":"https://codeload.github.com/takenobu-hs/cpu-assembly-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248569596,"owners_count":21126259,"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":["arm","assembly","cpu","risc-v","x86"],"created_at":"2024-11-07T20:34:09.502Z","updated_at":"2025-04-12T12:43:25.285Z","avatar_url":"https://github.com/takenobu-hs.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nCPU assembly examples\n=====================\n\n* This is a repo about tiny assembly examples for various CPUs (x86, Arm, and RISC-V).\n* There are examples such as system-calls, library-calls, load/store, if/for/call, barriers, atomics, and threads.\n* This repo focuses on CPU hardwares, not assembly notation or ABI conventions.\n\n\n## Contents\n\n* [x86(x86_64)/linux](x86/linux)\n* [Arm(Armv8 aarch64)/linux](arm/linux)\n* [RISC-V(RV64G)/linux](riscv/linux)\n\n\n## An example\n\n100.main/simple_main.S:\n\n```asm\n        .global main\n\nmain:\n        ret\n```\n\n\n## Assemble and excecute\n\n```\n$ cd \u003csample-directory\u003e\n$ make -f ../Makefile  \u003csample\u003e             # assemble\n$ ./\u003csample\u003e                                # execute\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakenobu-hs%2Fcpu-assembly-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakenobu-hs%2Fcpu-assembly-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakenobu-hs%2Fcpu-assembly-examples/lists"}