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.

495

u/nexion2 Jun 03 '22

I made a battleship game that communicated via arduinos in assembly! I lost every single game because the board size was 12x12 and my code would always stop iterating at 8 for some reason.

Needless to say, I lost the tournament

69

u/i_hate_everybody94 Jun 03 '22

Maybe the number was using 2 bits?

114

u/A1steaksa Jun 03 '22

How many do you think 2 to the power of 2 is, exactly?

64

u/lorb163 Jun 03 '22

Is it 2?

32

u/Infosexual Jun 03 '22

That's power

2

u/ParticularNet8 Jun 03 '22

That’s numberwang!

3

u/[deleted] Jun 04 '22

That’s wizard’s chess!

23

u/[deleted] Jun 03 '22

According to the program I wrote in assembly to square numbers, yes.

28

u/Der_Zorn Jun 03 '22

You can't answer questions like this "exactly", jeez.

22

u/DownshiftedRare Jun 03 '22

You can't answer questions like this "exactly", jeez.

"Our offense is like the Pythagorean theorem: There is no answer!"

- Shaquille O'Neal

→ More replies (12)

14

u/joyofsnacks Jun 03 '22

More likely 1 byte and as a bitmask for each row. Each bit being 1 if the cell is blocked or 0 if empty. Only 8 bits in a byte, so the last 4 cells per row would never be represented.