{"id":18057745,"url":"https://github.com/safememoryzone/tvm","last_synced_at":"2025-04-05T10:42:16.475Z","repository":{"id":254328451,"uuid":"846206002","full_name":"SafeMemoryZone/tvm","owner":"SafeMemoryZone","description":"Simple virtual machine with a minimal instruction set.","archived":false,"fork":false,"pushed_at":"2024-09-30T12:26:36.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T21:36:48.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/SafeMemoryZone.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":"2024-08-22T18:24:03.000Z","updated_at":"2024-09-30T12:26:40.000Z","dependencies_parsed_at":"2024-10-31T02:22:45.458Z","dependency_job_id":"b55e9180-f29d-494a-bf4c-42fca9ac48b8","html_url":"https://github.com/SafeMemoryZone/tvm","commit_stats":null,"previous_names":["safememoryzone/tvm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SafeMemoryZone%2Ftvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SafeMemoryZone%2Ftvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SafeMemoryZone%2Ftvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SafeMemoryZone%2Ftvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SafeMemoryZone","download_url":"https://codeload.github.com/SafeMemoryZone/tvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325646,"owners_count":20920713,"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":[],"created_at":"2024-10-31T02:22:34.725Z","updated_at":"2025-04-05T10:42:16.455Z","avatar_url":"https://github.com/SafeMemoryZone.png","language":"C","readme":"# tvm\n\nA tiny minimalistic virtual machine.\n\n## Quickstart\n\n```console\n$ make\n$ ./tvm -c \u003cfile\u003e\n$ ./tvm out.tvm\n```\n\n## Note\n\nThis project was abandoned and may conatain bugs. As of now, it is only a few steps away from being turing complete. Some instructions even invoke UB if used incorrectly.\n\n## Fibonacci Example\n\n```\n; This program calcuates the nth fib specifed by #r7\n; For the default value of '10' it should output '55'\n\nmov #r0, 0\nmov #r1, 1\n\nmov #r7, 10 ; nth fib to calculate\n\n%loop\n  cmp #r7, #r7\n  jz %done\n  dec #r7\n\n  mov #r3, #r1\n  add #r1, #r0, #r1\n  mov #r0, #r3\n\n  jmp %loop\n\n%done\n  exit 0\n```\n\n## License\n\nCopyright (c) 2024 Viliam Holly.\nThis project is licensed under the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafememoryzone%2Ftvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsafememoryzone%2Ftvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafememoryzone%2Ftvm/lists"}