{"id":21322076,"url":"https://github.com/0xffset/x86-assembly","last_synced_at":"2026-05-18T08:33:35.651Z","repository":{"id":121325962,"uuid":"323113767","full_name":"0xffset/x86-Assembly","owner":"0xffset","description":"A lot of x86-Assembly programs with  C/C++ ","archived":false,"fork":false,"pushed_at":"2020-12-25T18:25:16.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T11:47:57.977Z","etag":null,"topics":["assembly","c","low-level-programming","nasm","register","x86"],"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/0xffset.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["rolEYder"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-12-20T16:20:26.000Z","updated_at":"2020-12-25T18:25:18.000Z","dependencies_parsed_at":"2023-11-21T04:44:25.429Z","dependency_job_id":null,"html_url":"https://github.com/0xffset/x86-Assembly","commit_stats":null,"previous_names":["0xffset/x86-assembly"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xffset%2Fx86-Assembly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xffset%2Fx86-Assembly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xffset%2Fx86-Assembly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xffset%2Fx86-Assembly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xffset","download_url":"https://codeload.github.com/0xffset/x86-Assembly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801612,"owners_count":20350106,"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":["assembly","c","low-level-programming","nasm","register","x86"],"created_at":"2024-11-21T20:13:07.267Z","updated_at":"2026-05-18T08:33:30.633Z","avatar_url":"https://github.com/0xffset.png","language":"Assembly","funding_links":["https://github.com/sponsors/rolEYder"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"docs/logo.png\"  width=\"100\" height=\"100\"/\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003ex86-Assembly\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cstrong\u003eA lot of x86-Assembly programs with their counterpart in C/C++ \u003c/strong\u003e\n\u003c/div\u003e\n\n\u003ca href=\"https://github.com/RolEYder/x86-Assembly\"\u003e\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/RolEYder/x86-Assembly?style=plastic\"\u003e\u003c/a\u003e\n\n### Quickly Assembly x86 References\n####  General-Purpose Register\n\n\u003e *General-purpose registers (GPRs) can store both data and addresses, i.e., they are combined data/address registers; in some architectures, the register file is unified so that the GPRs can store floating-point numbers as well.*\n\u003e \n\u003e *Wikipedia*\n\n| Register | Common Use  |\n|--|--|\n| EAX | *Accumulator*|\n| EBX | *Memory pointer, base register*\n| ECX | *Loop control an counters*\n| EDX | *Interger multiplication and division*\n| ESI | *String instruction source pointer and index register*\n| EDI | *String instruction destination  pointer and index register*\n| ESP | *Stack pointer*\n| EBP | *Stack frame pointer*\n\n### Instruction Operants\n|Type| Example  |  Equal to|\n|--|--|--|\n| Immediate | *mov eax,45*  |*eax = 45*|\n|| *imul ebx, 12h* | ebx *= 0x12|\n|| *xor dl, 44h* | ebx *= 0x44\n|| *add esi,8* | *esi ^= 8*\n|Register| *mov eax, ebx* | *eax = ebx*\n|| *inc ecx* | *ecx += 1*\n|| *add ebx,esi* | *ebx += esi*\n|| *mul ebx* | edx:eax = eax * ebx\n|Memory| *mov eax,[ebx]* | eax= *ebx\n|| add eax,[val] | eax += *val\n|| or ecx,[ebx+esi] | ecx |= *(ebx + asi)\n|| sub word ptr [edi],12 | *  (short*) edit -=12\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xffset%2Fx86-assembly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xffset%2Fx86-assembly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xffset%2Fx86-assembly/lists"}