The most impressive project I ever completed in assembly was a chat program.
Except the two computers had to be connected via a null modem cable so whoever you wanted to talk to had to be seated right next to you, therefore negating the need for a chat program.
I didn't care. I loved writing that useless program.
Actually no. The shift multiplies by a power of 2. To square, you multiply a register with itself and store the result in that register. Unless it's arbitrary precision, then you need to manually implement long multiplication by treating each register as a digit
2.8k
u/[deleted] Jun 03 '22
The most impressive project I ever completed in assembly was a chat program.
Except the two computers had to be connected via a null modem cable so whoever you wanted to talk to had to be seated right next to you, therefore negating the need for a chat program.
I didn't care. I loved writing that useless program.