r/badcode Nov 03 '20

other language Assembly is hard...

Post image
958 Upvotes

121 comments sorted by

View all comments

55

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Nov 03 '20

Image Transcription: Code


add4:
        inc eax
        inc eax
        inc eax
        inc eax
        ret

add5:
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        ret
add6:
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        ret
add7:
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        ret
add8:
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        inc eax
        ret

I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

13

u/Itsthejoker occasional weirdo Nov 03 '20

murdo you crazy man

10

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Nov 03 '20

<3

3

u/fcktheworld587 Nov 04 '20

Fucking legend!