In article <54282EE7.6010607 at sydex.com>,
Chuck Guzis <cclist at sydex.com> writes:
On 09/28/2014 07:02 AM, Paul Koning wrote:
I don't think you could implement C for a 1620. At least the 6000 was a
binary machine and even had a fixed word length. The 1620 has neither
boolean operations, nor shifts. AFAIK, that's not optional in C.
If the 1620 is turing complete, that means that those operations can
be implemented, although it sounds like you'd have to implement them
in a very roundabout manner similar to the way floating-point
operations were emulated on CPUs with only integer math.
C doesn't require that boolean operations and shifts be in the native
instruction set, only that you can implement some sequence of
operations in the native instruction set that supports the semantics.
--
"The Direct3D Graphics Pipeline" free book
<http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>