Lets Write A Virtual Machine - Part 1
ChapmanWorld
[Correction] At 16:29:24 In the diagram of the stack when pulling data out, the last byte read reads as 072, but should have been 048. Sorry!
In this short series of videos, we're going to look at how to build a virtual machine from scratch using pascal.
In this part, I explain a highly simplified model of how a computer cpu works, and then proceed to build the initial template for our virtual machine based on that model.
In this video, I'm using FreePascal with Lazarus 2.0.10. The same code compiles in Delphi also. The source code for this video can be found on GitHub in the part-1 branch..
cwVirtual Machine Sources: [https://chapmanworld.com/cwVirtualMachine] ... https://www.youtube.com/watch?v=160VgTNv9Mk
2021-02-01
0.0 LBC
Copyrighted (contact publisher)
136181680 Bytes