{"id":20124091,"url":"https://github.com/lonelycpp/two-pass-assembler","last_synced_at":"2026-05-28T23:31:17.129Z","repository":{"id":110285991,"uuid":"77744010","full_name":"LonelyCpp/two-pass-assembler","owner":"LonelyCpp","description":"A multi pass assembler implementation in c++","archived":false,"fork":false,"pushed_at":"2017-04-08T05:46:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-30T21:41:25.096Z","etag":null,"topics":["algorithm","pass-assembler"],"latest_commit_sha":null,"homepage":null,"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/LonelyCpp.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-12-31T14:46:34.000Z","updated_at":"2020-09-02T17:36:39.000Z","dependencies_parsed_at":"2023-04-08T05:50:09.323Z","dependency_job_id":null,"html_url":"https://github.com/LonelyCpp/two-pass-assembler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LonelyCpp/two-pass-assembler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LonelyCpp%2Ftwo-pass-assembler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LonelyCpp%2Ftwo-pass-assembler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LonelyCpp%2Ftwo-pass-assembler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LonelyCpp%2Ftwo-pass-assembler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LonelyCpp","download_url":"https://codeload.github.com/LonelyCpp/two-pass-assembler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LonelyCpp%2Ftwo-pass-assembler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33630999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":["algorithm","pass-assembler"],"created_at":"2024-11-13T19:47:38.055Z","updated_at":"2026-05-28T23:31:17.125Z","avatar_url":"https://github.com/LonelyCpp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Two-pass-assembler\nA multi pass assembler implementation in c++\n\nA direct implementation of the two pass algorithm for \u003ci\u003e\u003cb\u003ecompiler design\u003c/b\u003e\u003c/i\u003e course provided by [VTU]( http://vtu.ac.in/), for CSE in semester 5.\n\nAn overview of the algorithm can be found here [Link](http://web.thu.edu.tw/ctyang/www/files/sp_chap2.pdf).\n \n\u003ch1\u003eSample Input :\u003c/h1\u003e \n\nLabel | Opcode | Operand\n--- | --- | ---\nTRANS | START | 1000\nFIRST |\tLDX |\tZERO\nTLOOP |\tTD |\tINDEV\nnop |\tJEQ |\tTLOOP\nnop |\tRD |\tINDEV\nnop |\tSTCH |\tRECORD,X\nnop |\tTIX | \tTEN\nnop |\tJLT |\tTLOOP\nZERO |\tWORD |\t0\nTEN |\tWORD |\t10\nINDEV |\tBYTE |\tX'F1'\nRECORD |\tRESB |\t10\nnop |\tEND |\tFIRST\n\n\u003ch1\u003eOutput object code :\u003c/h1\u003e \n\u003cbr/\u003e\n`H^0TRANS^001000^000026`\n\u003cbr/\u003e\n`T^001000^1c^041015^e0101b^301003^d8101b^54901c^2c1018^381003^000000^000010^F1`\n\u003cbr/\u003e\n`E^001000`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonelycpp%2Ftwo-pass-assembler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flonelycpp%2Ftwo-pass-assembler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonelycpp%2Ftwo-pass-assembler/lists"}