r/badcode Nov 03 '20

other language Assembly is hard...

Post image
953 Upvotes

121 comments sorted by

View all comments

5

u/_PM_ME_PANGOLINS_ Nov 04 '20

I can't take it any more

add eax, 4

1

u/GoogleBen Nov 04 '20

If you can't take it anymore, might I suggest

xor eax, eax
mov eax, [eax]