Skip to content

Instantly share code, notes, and snippets.

@dafioram
Last active September 20, 2017 11:48
Show Gist options
  • Save dafioram/f955d323145f7565508c4087550d1d36 to your computer and use it in GitHub Desktop.
Save dafioram/f955d323145f7565508c4087550d1d36 to your computer and use it in GitHub Desktop.
#1026 disasm HotSpot::doit diff
After
0029:004f: 38 b5 02 pushi 02b5 ; 693, useHotspots
0029:0052: 76 push0
0029:0053: 81 50 lag 50 ; 80, 'P'
0029:0055: 4a 04 00 send 0004
0029:0058: 18 not
0029:0059: 2f 05 bt 05 [0060]
0029:005b: 89 13 lsg 13 ; 19
0029:005d: 81 15 lag 15 ; 21
0029:005f: 1a eq?
0029:0060: 31 04 bnt 04 [0066]
0029:0062: 48 ret
0029:0063: 32 d9 00 jmp 00d9 [013f]
0029:0066: 81 a1 lag a1 ; 161
0029:0068: 31 4b bnt 4b [00b5]
0029:006a: 89 c1 lsg c1 ; 193
0029:006c: 35 01 ldi 01
0029:006e: 1c ne?
0029:006f: 31 2f bnt 2f [00a0]
0029:0071: 39 0e pushi 0e ; 14, view
0029:0073: 78 push1
0029:0074: 38 c6 02 pushi 02c6 ; 710, hiliteView
0029:0077: 76 push0
0029:0078: 81 a1 lag a1 ; 161
0029:007a: 4a 04 00 send 0004
0029:007d: 36 push
0029:007e: 39 0f pushi 0f ; 15, loop
0029:0080: 78 push1
0029:0081: 39 0f pushi 0f ; 15, loop
0029:0083: 76 push0
0029:0084: 81 a1 lag a1 ; 161
0029:0086: 4a 04 00 send 0004
0029:0089: 36 push
0029:008a: 38 4c 01 pushi 014c ; 332, setCel
0029:008d: 78 push1
0029:008e: 39 10 pushi 10 ; 16, cel
0029:0090: 76 push0
0029:0091: 81 a1 lag a1 ; 161
0029:0093: 4a 04 00 send 0004
0029:0096: 36 push
0029:0097: 81 13 lag 13 ; 19
0029:0099: 4a 12 00 send 0012 ; 18
0029:009c: 35 01 ldi 01
0029:009e: a1 c1 sag c1 ; 193
0029:00a0: 39 31 pushi 31 ; 49, '1', message
0029:00a2: 78 push1
0029:00a3: 38 24 01 pushi 0124 ; 292, verb
0029:00a6: 76 push0
0029:00a7: 81 a1 lag a1 ; 161
0029:00a9: 4a 04 00 send 0004
0029:00ac: 36 push
0029:00ad: 81 50 lag 50 ; 80, 'P'
0029:00af: 4a 06 00 send 0006
0029:00b2: 32 8a 00 jmp 008a [013f]
0029:00b5: 38 93 00 pushi 0093 ; 147, respondsTo
0029:00b8: 78 push1
0029:00b9: 38 c7 02 pushi 02c7 ; 711, exitDir
0029:00bc: 81 76 lag 76 ; 118, 'v'
0029:00be: 4a 06 00 send 0006
0029:00c1: 39 0f pushi 0f ; 15, loop
0029:00c3: 78 push1
0029:00c4: 76 push0
0029:00c5: 38 4c 01 pushi 014c ; 332, setCel
0029:00c8: 1c ne?
0029:00c9: 31 12 bnt 12 [00dd]
0029:00cb: 39 0f pushi 0f ; 15, loop
0029:00cd: 78 push1
0029:00ce: 76 push0
0029:00cf: 38 4c 01 pushi 014c ; 332, setCel
0029:00d2: 78 push1
0029:00d3: 76 push0
0029:00d4: 81 13 lag 13 ; 19
0029:00d6: 4a 0c 00 send 000c ; 12
0029:00d9: 35 02 ldi 02
0029:00db: a1 c1 sag c1 ; 193
0029:00dd: 39 31 pushi 31 ; 49, '1', message
0029:00df: 78 push1
0029:00e0: 67 16 pTos theVerb[16]
0029:00e2: 81 50 lag 50 ; 80, 'P'
0029:00e4: 4a 06 00 send 0006
0029:00e7: 33 56 jmp 56 [013f]
0029:00e9: 89 c1 lsg c1 ; 193
0029:00eb: 35 03 ldi 03
0029:00ed: 1c ne?
0029:00ee: 2f 1e bt 1e [010e]
0029:00f0: 89 c1 lsg c1 ; 193
0029:00f2: 35 03 ldi 03
0029:00f4: 1a eq?
0029:00f5: 31 3e bnt 3e [0135]
0029:00f7: 39 0f pushi 0f ; 15, loop
0029:00f9: 76 push0
0029:00fa: 81 13 lag 13 ; 19
0029:00fc: 4a 04 00 send 0004
0029:00ff: 36 push
0029:0100: 38 c7 02 pushi 02c7 ; 711, exitDir
0029:0103: 76 push0
0029:0104: 81 76 lag 76 ; 118, 'v'
0029:0106: 4a 04 00 send 0004
0029:0109: 36 push
0029:010a: 35 01 ldi 01
0029:010c: 02 add
0029:010d: 1c ne?
0029:010e: 31 25 bnt 25 [0135]
0029:0110: 39 0e pushi 0e ; 14, view
0029:0112: 78 push1
0029:0113: 38 e8 26 pushi 26e8 ; 9960
0029:0116: 39 0f pushi 0f ; 15, loop
0029:0118: 78 push1
0029:0119: 38 c7 02 pushi 02c7 ; 711, exitDir
0029:011c: 76 push0
0029:011d: 81 76 lag 76 ; 118, 'v'
0029:011f: 4a 04 00 send 0004
0029:0122: 36 push
0029:0123: 35 01 ldi 01
0029:0125: 02 add
0029:0126: 36 push
0029:0127: 38 4c 01 pushi 014c ; 332, setCel
0029:012a: 78 push1
0029:012b: 76 push0
0029:012c: 81 13 lag 13 ; 19
0029:012e: 4a 12 00 send 0012 ; 18
0029:0131: 35 03 ldi 03
0029:0133: a1 c1 sag c1 ; 193
0029:0135: 39 31 pushi 31 ; 49, '1', message
0029:0137: 78 push1
0029:0138: 67 16 pTos theVerb[16]
0029:013a: 81 50 lag 50 ; 80, 'P'
0029:013c: 4a 06 00 send 0006
0029:013f: 81 13 lag 13 ; 19
0029:0141: a1 c0 sag c0 ; 192
0029:0143: 48 ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment