Generating Machine Code (16-Bit VM in JavaScript 011)

Veröffentlicht am: 06 Juni 2020
auf dem Kanal: Low Byte Productions
8,681
249

In this episode we take the AST representation of the assembly code we get from the parser and turn it into real machine code - the bytes in memory that the virtual CPU executes as instructions. Along the way we'll add support for labels, allowing us to write location independent and logically grouped assembly code.


Big shout out to patron Max Starr, whose LLJS IDE Project (https://github.com/manmon42/lljsvm-ide) is featured in this episode.



=[ ℹ About ℹ ]=


This series is all about building a powerful virtual machine in JavaScript with the following features:

A flexible, extensible, register-based virtual machine
Support for signed, unsigned and floating point operations
A call stack
Interrupt capabilities
Ability to do memory mapping for IO
An assembly language with macro and module support
A higher level, C like language. We'll use and expand the library from the parser combinators from scratch series
And finally, to be able to take the whole thing into the browser and extend it to create a sort of fantasy console - an emulator for a machine that never existed



💌 Updates to your inbox: https://tinyletter.com/lowleveljavasc...
⭐️ Patreon:   / lowleveljavascript  

Series Playlist:    • 16-Bit Virtual Machine  
Github Repo: https://github.com/LowLevelJavaScript...

LLJS IDE: https://github.com/manmon42/lljsvm-ide
arcsecond: https://github.com/francisrstokes/arc...
Parser Combinators From Scratch:    • How Parser Combinators Work [Parser Combin...  

=[ 🔗 Links 🔗 ]=

Playlist:    • 16-Bit Virtual Machine  
Github Repo: https://github.com/LowLevelJavaScript...


Auf dieser Seite können Sie das Online-Video Generating Machine Code (16-Bit VM in JavaScript 011) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Low Byte Productions 06 Juni 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8,681 Mal angesehen und es wurde von 249 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!