http://www.oocities.org/qpliu/conser/
Here's a simpler approach that also supports either ST or IO: https://github.com/qpliu/dcpu16/blob/master/DCPU16.hs
A9 52 20 D2 FF A9 49 20 D2 FF A9 50 20 D2 FF
SET PC, [SP++] SET PC, [--SP] SET PC, [location with I/O]
It seems to me the extra cycle is used to read the first word of the next instruction, since it needs to know how long the next instruction is to skip it.
I would have gone for something big and expensive, like, say, the lunar module. Is anyone making a new lunar module or a hydrogen dirigible these days?
What's the rationale for piping sort into wc?
http://www.oocities.org/qpliu/conser/
Here's a simpler approach that also supports either ST or IO: https://github.com/qpliu/dcpu16/blob/master/DCPU16.hs
A9 52 20 D2 FF A9 49 20 D2 FF A9 50 20 D2 FF
SET PC, [SP++] SET PC, [--SP] SET PC, [location with I/O]
It seems to me the extra cycle is used to read the first word of the next instruction, since it needs to know how long the next instruction is to skip it.
I would have gone for something big and expensive, like, say, the lunar module. Is anyone making a new lunar module or a hydrogen dirigible these days?
What's the rationale for piping sort into wc?