3 ms·
I remember at the time thinking how much they could pull off with so little hardware. An IBM mainframe could do a giant block move (with padding) in one instru
by m463 3y ago
I remember at the time thinking how much they could pull off with so little hardware.
An IBM mainframe could do a giant block move (with padding) in one instruction.
but a normal person couldn't afford that. But a 6502 was in reach.
With the 6502 you had to be clever and do something similar in software.
But yeah. It was enlightening when the 6502 didn't have an add instruction.
(you had to do clear carry, then add with carry)
These kind of tradeoffs persist through time. People do all kinds of ridiculous things with an inexpensive ESP8266 or ESP32.
- cbm-vic-20 3y agoIt's funny you used the single-instruction block move as an example. The successor to the 6502, the 65C816, does have a single-instruction block move. Actually it has two, one for when you want to move from the top down, and another when you wnat to move from the bottom up (in the case where regions overlap). https://snes.nesdev.org/wiki/MVN_and_MVP_block_copy https://snes.nesdev.org/wiki/MVN_and_MVP_block_copy
- m463 3y agoI had to look that one up... 370 - 32-bit, ibm, 1970 6502 - 8-bit, mos technology, 1975 65C816 - 16-bit, wdc, 1985 and even dug into this move characters long: http://www.simotime.com/asmins01.htm#MVCL http://www.simotime.com/asmins01.htm#MVCL lots of cobwebs in those memories...