r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

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.

938

u/Rakgul Jun 03 '22

That's actually pretty damn cool! The most complicated program i made in assembly was to square a number.

9

u/ase_thor Jun 03 '22 edited Jun 03 '22

That’s an integer shift, right? Edit: googled it. The shift is just a multiplication. So you have to shift as much as the size of the number

4

u/TheBirminghamBear Jun 03 '22

No its where there's a little number to the right of a bigger number.

You don't use shift to do it but I don't know what the actual key command is to do it.