Hello everyone! In this post, we will be doing the Synacor Challenge. In this challenge, which you can find here, we are only given a tar file. Inside this archive is two files:
- arch-spec, which is the spesification of this imaginary machine
- challenge.bin, which is an executable designed to be run on the VM
The arch-spec file describes everything in detail, but let me summarize the machine in a few points. The virtual machine;
- Is little endian
- Has a memory made up of 16-bit unsigned integers
- Has a stack of 16-bit unsigned integers
- Has 8 registers which are also 16-bit unsigned integers
Citation
If you find this work useful, please cite it as:
@article{yaltirakliwikisynacorvm,
title = "Implementing a Virtual Machine in C",
author = "Yaltirakli, Gokberk",
journal = "gkbrk.com",
year = "2024",
url = "https://www.gkbrk.com/wiki/synacorvm/"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation Gokberk Yaltirakli, "Implementing a Virtual Machine in C", November, 2024. [Online]. Available: https://www.gkbrk.com/wiki/synacorvm/. [Accessed Nov. 12, 2024].
APA Style Yaltirakli, G. (2024, November 12). Implementing a Virtual Machine in C. https://www.gkbrk.com/wiki/synacorvm/
Bluebook Style Gokberk Yaltirakli, Implementing a Virtual Machine in C, GKBRK.COM (Nov. 12, 2024), https://www.gkbrk.com/wiki/synacorvm/