{"id":30710810,"url":"https://github.com/kinderjosh/minstral-vm","last_synced_at":"2026-05-15T21:04:33.799Z","repository":{"id":306335899,"uuid":"1025835402","full_name":"kinderjosh/minstral-vm","owner":"kinderjosh","description":"Minstral (short for Minimal Instruction Translator) contains a virtual machine, assembler and disassembler.","archived":false,"fork":false,"pushed_at":"2025-07-27T15:03:02.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-27T15:16:00.040Z","etag":null,"topics":["assembly","virtual-machine"],"latest_commit_sha":null,"homepage":"","language":"C","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/kinderjosh.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,"zenodo":null}},"created_at":"2025-07-24T22:09:47.000Z","updated_at":"2025-07-27T15:03:06.000Z","dependencies_parsed_at":"2025-07-27T15:16:01.833Z","dependency_job_id":null,"html_url":"https://github.com/kinderjosh/minstral-vm","commit_stats":null,"previous_names":["kinderjosh/mono-vm","kinderjosh/minstral-vm"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kinderjosh/minstral-vm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinderjosh%2Fminstral-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinderjosh%2Fminstral-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinderjosh%2Fminstral-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinderjosh%2Fminstral-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kinderjosh","download_url":"https://codeload.github.com/kinderjosh/minstral-vm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinderjosh%2Fminstral-vm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273373648,"owners_count":25093928,"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-09-02T02:00:09.530Z","response_time":77,"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":["assembly","virtual-machine"],"created_at":"2025-09-03T01:10:34.686Z","updated_at":"2026-05-15T21:04:33.794Z","avatar_url":"https://github.com/kinderjosh.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minstral VM\n\nMinstral (short for Minimal Instruction Translator) contains a virtual machine, assembler and disassembler.\n\n## Installation\n\nAll you need is ```gcc``` and ```make```, then clone the repository and run the makefile as root:\n\n```bash\ngit clone https://github.com/kinderjosh/minstral-vm.git\ncd minstral-vm\nsudo make install\n```\n\n## Usage\n\n```\nmas \u003ccommand\u003e [options] \u003cinput file\u003e\n```\n\n### Commands\n\n| Name | Description |\n| --- | --- |\n| asm | Assemble a machine code file. |\n| dis | Disassemble a machine code file. |\n| exe | Execute a machine code file. |\n| run | Assemble and execute a machine code file. |\n\n### Options\n\n| Name | Description |\n| --- | --- |\n| -linebreak | Output linebreaks in machine code. |\n| -o ```\u003coutput file\u003e``` | Specify the output filename. |\n\n## Examples\n\n### Assembling\n\nUse the ```asm``` command to convert an assembly file to a machine code file.\n\n\u003e [examples/hi.min](./examples/hi.min):\n\n```asm\n; simple program that prints \"Hi\"\n\n.text\nopc 'H' ; print character H\nopc 'i' ; print character i\nopc '\\n' ; print a new line\nhlt ; stop execution\n```\n\nAssemble it:\n\n```console\n$ mas asm examples/hi.min\n```\n\na.out:\n\n```asm\n7 72 7 105 7 10 1 0\n```\n\n### Disassembling\n\nUse the ```dis``` command to convert a machine code file to an assembly file.\n\n(Using the same example from above):\n\n```console\n$ mas dis a.out\n```\n\ndis.min:\n\n```asm\nopc 72\nopc 105\nopc 10\nhlt\n```\n\n### Executing\n\nUse the ```exe``` command to execute a machine code file.\n\n(Using the same example from above):\n\n```console\n$ mas exe a.out\nHi\n```\n\n### Running\n\nYou can assemble and execute an assembly file at once with the ```run``` command.\n\n```console\n$ mas run examples/hi.min\nHi\n```\n\n## Syntax Highlighting\n\nSyntax highlighting for VSCode is available in the [editor](./editor/) directory in the form of a VSIX file.\n\n## Documentation\n\nSee the [manual](https://github.com/kinderjosh/minstral-vm/wiki).\n\n## License\n\nMinstral is distributed under the [BSD 3-Clause](./LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinderjosh%2Fminstral-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkinderjosh%2Fminstral-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinderjosh%2Fminstral-vm/lists"}