AnyCPU http://anycpu.org/forum/ |
|
Sweet 16 - because everybody loves registers http://anycpu.org/forum/viewtopic.php?f=3&t=596 |
Page 1 of 1 |
Author: | monsonite [ Sat Apr 13, 2019 6:26 pm ] |
Post subject: | Sweet 16 - because everybody loves registers |
There has been a fair bit written about Sweet 16 - a 16-bit virtual processor devised by Steve Wozniak in 1976/77 in order to simplify the handling of 16-bit instructions on the Apple 1 - which was an 8-bit 6502 and was somewhat short of registers. Woz devised a virtual 16 bit machine with a bank of 16, 16-bit registers located in the first 32 bytes of zero-page RAM. Modern languages (specifically C) need a bank of general purpose registers and so the implementation of a 16-bit virtual machine on top of the raw cpu, was one way to simplify programming. The details of Sweet16 can be found here http://www.6502.org/source/interpreters/sweet16.htm |
Author: | BigEd [ Sat Apr 13, 2019 7:28 pm ] |
Post subject: | Re: Sweet 16 - because everybody loves registers |
16 is a good number of registers! (OPC, MSP430, ARM,...) Although of course 8 is also a choice with some history. |
Author: | barrym95838 [ Sun Apr 14, 2019 5:58 am ] |
Post subject: | Re: Sweet 16 - because everybody loves registers |
Charlie Hitselberger loves golfing around with his Pettil, and came up with a couple of cool observations and insights about Sweet16 here: Mike B. |
Author: | BigEd [ Sun Apr 14, 2019 6:53 am ] |
Post subject: | Re: Sweet 16 - because everybody loves registers |
(Thanks! Here's an archived version in case tumblr evaporates.) |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |