MY friend told me that this was something neat so I've been working on it for a while but I can't see it. He gave a set of machine code, told me it'd be interesting in MIPS instruction set (The return value)
The set were:
Code:0x3c111001 0x3c011001 0x34320006 0x82290000 0x2128002a 0xa2280000 0x22310001 0x1632fffc
so what I did was convert them to binary
but i still don't see anything yet :/ so I tried converting it into MIPS:Code:00000011 11000001 00010001 00000000 00000001 00000011 11000000 00010001 00000000 00000001 00000011 01000011 00100000 00000000 00000110 00001000 00100010 10010000 00000000 00000000 00000010 00010010 10000000 00000010 00001010 00001010 00100010 10000000 00000000 00000000 00000010 00100011 00010000 00000000 00000001 00000001 01100011 00101111 11111111 00001100
and I got something like
and the output was..well something not really funny I guess.Code:or $v0,$0,$0 Loop: slt$t0,$0,$a1 beq$t0,$0,Exit add $v0,$v0,$a0 addi$a1,$a1,-1 j Loop Exit
What did I do wrong???? Help me solve this "joke" haha



LinkBack URL
About LinkBacks


