Register-based virtual machines

SWEET16

SWEET16 is an interpreted byte-code instruction set invented by Steve Wozniak and implemented as part of the Integer BASIC ROM in the Apple II series of computers. It was created because Wozniak needed to manipulate 16-bit pointer data, and the Apple II was an 8-bit computer. SWEET16 was not used by the core BASIC code, but was later used to implement several utilities. Notable among these was the line renumbering routine, which was included in the Programmer's Aid #1 ROM, added to later Apple II models and available for user installation on earlier examples. SWEET16 code is executed as if it were running on a 16-bit processor with sixteen internal 16-bit little-endian registers, named R0 through R15. Some registers have well-defined functions: * R0 – accumulator * R12 – subroutine stack pointer * R13 – stores the result of all comparison operations for branch testing * R14 – status register * R15 – program counter The 16 virtual registers, 32 bytes in total, are located in the zero page of the Apple II's real, physical memory map (at $00–$1F), with values stored as low byte followed by high byte. The SWEET16 interpreter itself is located from $F689 to $F7FC in the Integer BASIC ROM. According to Wozniak, the SWEET16 implementation is a model of frugal coding, taking up only about 300 bytes in memory. SWEET16 runs at about one-tenth the speed of the equivalent native 6502 code. (Wikipedia).

Video thumbnail

PHYS102x Credits (2014)

This is the credit reel I made for PHYS102x.

From playlist Off Topic

Video thumbnail

IMT4007: Serious Games

Serious games and Technology.

From playlist Archive - Serious Games

Video thumbnail

d14

Available at http://mathartfun.com/DiceLabDice.html

From playlist Dice

Video thumbnail

IMT4307 Serious Games L5

IMT4307 Serious Games L5

From playlist Archive - Serious Games

Video thumbnail

MegaFavNumbers: RSA-2048

My own choice for a number over 1,000,000 is this 617 digit boy: 251959084756578934940271832400483985714292821262040320277771378360436620207075955562640185258807844069182906412495150821892985591491761845028084891200728449926873928072877767359714183472702618963750149718246911650776133798590

From playlist MegaFavNumbers

Video thumbnail

15 Oscillation 1.mp4

Chapter 15 Oscillation Part 1.

From playlist PHY1505

Video thumbnail

Defining Custom Types

This is CS50

From playlist CS50 Sections 2015

Video thumbnail

Error estimates for Feynman-Kac semi- groups by Grégoire Ferré

Large deviation theory in statistical physics: Recent advances and future challenges DATE: 14 August 2017 to 13 October 2017 VENUE: Madhava Lecture Hall, ICTS, Bengaluru Large deviation theory made its way into statistical physics as a mathematical framework for studying equilibrium syst

From playlist Large deviation theory in statistical physics: Recent advances and future challenges

Related pages

Byte | Bit | Pointer (computer programming)