https://gist.github.com/sinclairtarget/ad18ac65d277e453da5f4...
It's definitely far from being trivial!
Also note the use of floats in the C version. A lot of simpler CPUs didn't and still don't have floats.
Fascinatingly, the Analytical Engine's number representation was 40 digits (and later: 50)(!) base 10 (but not "floating" but "fixed" point):
https://www.fourmilab.ch/babbage/authentic.html
Moreover, a lot of simpler CPUs also don't have the "division" in the "instruction set", the Engine has it!
Given the emulator already existing, maybe somebody will now create the cards from Lovelace's program, and run it as intended?
https://www.fourmilab.ch/babbage/emulator.html
https://gist.github.com/sinclairtarget/ad18ac65d277e453da5f4...
It's definitely far from being trivial!
Also note the use of floats in the C version. A lot of simpler CPUs didn't and still don't have floats.
Fascinatingly, the Analytical Engine's number representation was 40 digits (and later: 50)(!) base 10 (but not "floating" but "fixed" point):
https://www.fourmilab.ch/babbage/authentic.html
Moreover, a lot of simpler CPUs also don't have the "division" in the "instruction set", the Engine has it!
Given the emulator already existing, maybe somebody will now create the cards from Lovelace's program, and run it as intended?
https://www.fourmilab.ch/babbage/emulator.html