3 ms·
This is getting far afield from the actual Nanoprocessor, which has increment and decrement instructions. With those, you can add two numbers by repeatedly incr
by kens 6y ago
This is getting far afield from the actual Nanoprocessor, which has increment and decrement instructions. With those, you can add two numbers by repeatedly incrementing one and decrementing the other. (Which is a bit like addition using the Peano axioms.)
See page 126 of the Nanoprocessor User's Manual for code to add two numbers in this way.
https://www.hp9845.net/9845/downloads/manuals/Nanoprocessor.pdf https://www.hp9845.net/9845/downloads/manuals/Nanoprocessor....
- egsmi 6y agoOne can also use the techniques demonstrated your reversing the ALU article. :) https://www.righto.com/2020/08/reverse-engineering-8086s.html https://www.righto.com/2020/08/reverse-engineering-8086s.htm...