{"id":20186984,"url":"https://github.com/tervicke/svm","last_synced_at":"2025-07-31T01:16:20.153Z","repository":{"id":181750482,"uuid":"375273500","full_name":"Tervicke/SVM","owner":"Tervicke","description":"Simple stack based virtual machine with its own simple bytecode","archived":false,"fork":false,"pushed_at":"2021-06-09T13:18:02.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T06:46:42.345Z","etag":null,"topics":["c","pops","stack","virtual-machine","vm","vms"],"latest_commit_sha":null,"homepage":"","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/Tervicke.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}},"created_at":"2021-06-09T07:57:40.000Z","updated_at":"2022-05-19T14:39:05.000Z","dependencies_parsed_at":"2023-07-21T17:16:16.291Z","dependency_job_id":null,"html_url":"https://github.com/Tervicke/SVM","commit_stats":null,"previous_names":["tervicke/svm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tervicke/SVM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tervicke%2FSVM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tervicke%2FSVM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tervicke%2FSVM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tervicke%2FSVM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tervicke","download_url":"https://codeload.github.com/Tervicke/SVM/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tervicke%2FSVM/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267972565,"owners_count":24174382,"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-30T02:00:09.044Z","response_time":70,"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":["c","pops","stack","virtual-machine","vm","vms"],"created_at":"2024-11-14T03:19:24.963Z","updated_at":"2025-07-31T01:16:20.127Z","avatar_url":"https://github.com/Tervicke.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2\u003esimple stack based Virtual machine\u003c/h2\u003e\n\u003ch3\u003ebuild \u003c/h3\u003e\nclone the repo and fire the make command\n\u003ch3\u003echanging the program \u003c/h3\u003e\nto change the program edit the\u003cbr\u003e \n\n\n```c\nint program[] = {\nPSH, 15,\nPSH, 3,\nDIV,\nHLT,\n//the stack pointer must pointing to value 5 \n};\n```\n\u003cb\u003eNote\u003c/b\u003e the program is array so dont forget to put , after every instructions\u003cbr\u003e\n\u003ch3\u003einstruction set \u003c/h3\u003e\n\nOperation | Description\n------ | ------ \nPSH   | pushes the value to the top of the stack\nPOP   | pops the value , now the stack pointer points to the previous value\nADD   | Adds the the top two values and pushes them\nSUB   | substracts the the second value from the previous\nMUL   | multiples top two values on the stack\nDiv   | divides the top value by the first second top value\nAND   | does the binary AND operation and on the top two value\nOR    | does the binary OR operation and on the top two value\nHLT   | Marks the end of the program \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftervicke%2Fsvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftervicke%2Fsvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftervicke%2Fsvm/lists"}