Powering Up With New Instructions (16-Bit VM in JavaScript 006) @LowByteProductions
Powering Up With New Instructions (16-Bit VM in JavaScript 006)  @LowByteProductions
Uploaded February 2020 | Updated November 2026, 2 days ago
In this episode we add new instructions and capabilities to the VM, including:


- More move instructions
- More arithmetic capabilities for doing math
- Binary logic instructions
- Branches



=[ ℹ 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 exend it to create a sort of fantasy console - an emulator for a machine that never existed

=[ 🔗 Links 🔗 ]=

- ⭐️ Patreon: patreon.com/lowleveljavascript
- 💌 Updates to your inbox: tinyletter.com/lowleveljavascript

- Series Playlist: youtube.com/playlist?list=PLP29wDx6QmW5DdwpdwHCRJsEubS5NrQ9b&playnext=1&index=1
- Github Repo: github.com/LowLevelJavaScript/16-Bit-Virtual-Machine

- Branching: en.wikipedia.org/wiki/Branch_(computer_science)
- Binary Logic: en.wikipedia.org/wiki/Boolean_logic
Escape sequences: github.com/75lb/ansi-escape-sequences/blob/master/index.mjs
LLJSVM Debugger/IDE: github.com/manmon42/lljsvm-ide
Max's Github Project: https://lljside.maxstarr.xyz/
Knevari's Compiler/Assembler: github.com/Knevari/js-virtual-machine
Matt Ewans Functional VM: github.com/matt-ewan-laws/functional-16bit-computer
Memory Mapped IO: en.wikipedia.org/wiki/Memory-mapped_I/O
setImmediate: nodejs.org/api/timers.html#timers_setimmediate_callback_args
Powering Up With New Instructions (16-Bit VM in JavaScript 006)Machine Mode, Traps, Compilation, and Linking: RISC-V ep.9Command Line Hex Editor in TypeScript 🧙🏻Using LEDs As Precise GPIOsImplementing the mechanics [Parser Combinators From Scratch] Episode 2Maintaining Firmware Integrity :: Bare Metal Programming Series 12Promises From Scratch In A Post-Apocalyptic FutureGenerating Machine Code (16-Bit VM in JavaScript 011)Building an DECODER for QOI Images (Quite OK Image Format)Turning Pixels Into WavesHow Parser Combinators Work [Parser Combinators From Scratch] Episode 1Packing Bits For Compression
Low Byte Productions |

Powering Up With New Instructions (16-Bit VM in JavaScript 006)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER