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: Cudder !MhMRSATORI!vzR1SbE7g/KHqrb 2010-06-14 5:43

>>29
At the risk of making it a bit too obvious, I've unhidden the function names.

00034590 finv _sp_cls, 0
00034593 mov r1, $2
00034596 mov r1, unk.r1
00034599 add r1, $1
00034602 mov r1, r1
00034605 mod r1, $6
00034608 mov r0, $2
00034611 mov unk.r0, r1
00034614 mov r0, unk.r0
00034617 mov r1, $1
00034620 mov r1, m2.r1
00034623 mov r0, $50
00034626 mov m2.r0, r1
00034629 mov r0, m2.r0
00034632 gosub $766
00034634 finv _run_no_wait, 0
00034637 push $10
00034639 finv _btn_get_onmouse, 0
00034642 ret
00034643 push $2
00034645 finv _lpop, 0
00034648 jp .806
00034650 ret
00034651 push $0
00034653 finv _save_thmnl_mosaic_set, 0
00034656 push $1000
00034658 push $1
00034660 finv _bgm_stop, 0
00034663 mov r1, $1
00034666 negrv 1
00034668 mov r0, r1
00034671 push r0
00034673 finv _sp_cls, 0
00034676 mov r2, $1
00034679 negrv 2
00034681 mov r0, r2
00034684 push r0
00034686 push $10
00034688 finv sub_0_40A200, 0
00034691 mov r2, $1
00034694 negrv 2
00034696 mov r0, r2
00034699 push r0
00034701 push $11
00034703 finv sub_0_40A200, 0
00034706 push $1
00034708 push $500
00034710 push $1
00034712 finv _run, 0
00034715 push $10
00034717 finv _btn_hide, 0
00034720 push $11
00034722 finv _btn_hide, 0
00034725 push $65535
00034727 finv _system_btn_release, 0
00034730 ret

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