Skip to content

Instantly share code, notes, and snippets.

@davecheney
Created November 17, 2012 11:39
Show Gist options
  • Select an option

  • Save davecheney/4095141 to your computer and use it in GitHub Desktop.

Select an option

Save davecheney/4095141 to your computer and use it in GitHub Desktop.
d.output[d.o] = uint8(code)
42ed4: e1a00806 lsl r0, r6, #16
42ed8: e1a00820 lsr r0, r0, #16
42edc: e20010ff and r1, r0, #255 ; 0xff
42ee0: e20150ff and r5, r1, #255 ; 0xff
42ee4: e5941000 ldr r1, [r4]
42ee8: e59fb8c0 ldr fp, [pc, #2240] ; 437b0 <compress/lzw.(*decoder).decode+0xa00>
42eec: e794300b ldr r3, [r4, fp]
42ef0: e5941000 ldr r1, [r4]
42ef4: e5942000 ldr r2, [r4]
42ef8: e59fb8b4 ldr fp, [pc, #2228] ; 437b4 <compress/lzw.(*decoder).decode+0xa04>
42efc: e084100b add r1, r4, fp
42f00: e5912000 ldr r2, [r1]
42f04: e1a00003 mov r0, r3
42f08: e3a02a02 mov r2, #8192 ; 0x2000
42f0c: e1530002 cmp r3, r2
42f10: 3a000000 bcc 42f18 <compress/lzw.(*decoder).decode+0x168>
42f14: ebff7d73 bl 224e8 <runtime.panicindex>
42f18: e0811000 add r1, r1, r0
42f1c: e20500ff and r0, r5, #255 ; 0xff
42f20: e5c10000 strb r0, [r1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment