Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Machine Language

Name: Cudder !MhMRSATORI!vzR1SbE7g/KHqrb 2010-06-12 7:59

What machine language do you think this looks closest to?


00000797 cspush 2
00000799 push $1
00000801 finv &2:3, 0
00000804 push t.1
00000806 push t.2
00000808 gosub $54
00000810 cspop 2
00000812 push $1
00000814 push $2000
00000816 push $6
00000818 finv &22:0, 0
00000821 ret
00000822 cspush 1
00000824 mov r1, t.1
00000827 mov r0, $95
00000830 mov m1.r0, r1
00000833 mov r0, m1.r0
00000836 ret
00000837 mov r1, $0
00000840 mov r0, $96
00000843 mov m1.r0, r1
00000846 mov r0, m1.r0
00000849 ret
00000850 mov r1, $1
00000853 mov r0, $96
00000856 mov m1.r0, r1
00000859 mov r0, m1.r0
00000862 ret


Hard mode: Try to figure out what it does.

Name: Anonymous 2010-08-15 13:46

>>58
Here goes. I found out that the code makes perfect sense. That assembly language was designed by a professional

unsigned char x[143];

unsigned char DoSomething(void)
{
   x[112] |= 2;
   if((x[112] >= 10) || (x[113] >= 10))
      xxxx();
   return x[143];
}

Name: Anonymous 2010-08-15 14:34

>>64
Hello RETRANS staff member.

Name: Anonymous 2010-08-15 14:41

>>65
I'm sorry, you must have mistaken me for someone, you level-3 mainframe programmer

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List