]>
Commit | Line | Data |
---|---|---|
650ebf3b MG |
1 | /* TODO: IMPLEMET THIS! */ |
2 | /* Probably very broken lzw implementation by Agilent: | |
3 | * | |
4 | * 59a38: e92d4ff0 push {r4, r5, r6, r7, r8, r9, r10, r11, r14} | |
5 | * 59a3c: e1a07000 mov r7, r0 | |
6 | * 59a40: e1a0a001 mov r10, r1 | |
7 | * 59a44: e1a0b002 mov r11, r2 | |
8 | * 59a48: ebfffeae bl 0x59508 | |
9 | * 59a4c: e3a03033 mov r3, #51 ; 0x33 | |
10 | * 59a50: e3a0203f mov r2, #63 ; 0x3f | |
11 | * 59a54: e3a01000 mov r1, #0 ; 0x0 | |
12 | * 59a58: e3a00000 mov r0, #0 ; 0x0 | |
13 | * 59a5c: ebfffec5 bl 0x59578 | |
14 | * 59a60: e59f3100 ldr r3, [pc, #256] ; 0x59b68 | |
15 | * 59a64: e3a02033 mov r2, #51 ; 0x33 | |
16 | * 59a68: e3a01540 mov r1, #268435456 ; 0x10000000 | |
17 | * 59a6c: e3a00004 mov r0, #4 ; 0x4 | |
18 | * 59a70: ebfffec0 bl 0x59578 | |
19 | * 59a74: e59f30f0 ldr r3, [pc, #240] ; 0x59b6c | |
20 | * 59a78: e3a0201b mov r2, #27 ; 0x1b | |
21 | * 59a7c: e3a01550 mov r1, #335544320 ; 0x14000000 | |
22 | * 59a80: e3a00005 mov r0, #5 ; 0x5 | |
23 | * 59a84: ebfffebb bl 0x59578 | |
24 | * 59a88: e3a03033 mov r3, #51 ; 0x33 | |
25 | * 59a8c: e3a0203b mov r2, #59 ; 0x3b | |
26 | * 59a90: e3a014c0 mov r1, #-1073741824 ; 0xc0000000 | |
27 | * 59a94: e3a00007 mov r0, #7 ; 0x7 | |
28 | * 59a98: ebfffeb6 bl 0x59578 | |
29 | * 59a9c: e59f00cc ldr r0, [pc, #204] ; 0x59b70 | |
30 | * 59aa0: ebfffeae bl 0x59560 | |
31 | * 59aa4: e59b5000 ldr r5, [r11] | |
32 | * 59aa8: e59f20c4 ldr r2, [pc, #196] ; 0x59b74 | |
33 | * 59aac: e1550002 cmp r5, r2 | |
34 | * 59ab0: 0a000000 beq 0x59ab8 | |
35 | * 59ab4: ebffff33 bl 0x59788 | |
36 | * 59ab8: e28b3004 add r3, r11, #4 ; 0x4 | |
37 | * 59abc: e5935000 ldr r5, [r3] | |
38 | * 59ac0: e0853007 add r3, r5, r7 | |
39 | * 59ac4: e153000a cmp r3, r10 | |
40 | * 59ac8: 3a000000 bcc 0x59ad0 | |
41 | * 59acc: ebffff2d bl 0x59788 | |
42 | * 59ad0: e28b2008 add r2, r11, #8 ; 0x8 | |
43 | * 59ad4: e59f809c ldr r8, [pc, #156] ; 0x59b78 | |
44 | * 59ad8: e5882000 str r2, [r8] | |
45 | * 59adc: e085200b add r2, r5, r11 | |
46 | * 59ae0: e59f8090 ldr r8, [pc, #144] ; 0x59b78 | |
47 | * 59ae4: e5882004 str r2, [r8, #4] | |
48 | * 59ae8: e3a02000 mov r2, #0 ; 0x0 | |
49 | * 59aec: e59f8084 ldr r8, [pc, #132] ; 0x59b78 | |
50 | * 59af0: e5c82009 strb r2, [r8, #9] | |
51 | * 59af4: e3a02080 mov r2, #128 ; 0x80 | |
52 | * 59af8: e59f8078 ldr r8, [pc, #120] ; 0x59b78 | |
53 | * 59afc: e5c82008 strb r2, [r8, #8] | |
54 | * 59b00: e59f8074 ldr r8, [pc, #116] ; 0x59b7c | |
55 | * 59b04: e5887000 str r7, [r8] | |
56 | * 59b08: e0853007 add r3, r5, r7 | |
57 | * 59b0c: e59f8068 ldr r8, [pc, #104] ; 0x59b7c | |
58 | * 59b10: e5883004 str r3, [r8, #4] | |
59 | * 59b14: e59f1060 ldr r1, [pc, #96] ; 0x59b7c | |
60 | * 59b18: e59f0058 ldr r0, [pc, #88] ; 0x59b78 | |
61 | * 59b1c: ebffff86 bl 0x5993c | |
62 | * 59b20: e2873020 add r3, r7, #32 ; 0x20 | |
63 | * 59b24: e5935000 ldr r5, [r3] | |
64 | * 59b28: e59f2050 ldr r2, [pc, #80] ; 0x59b80 | |
65 | * 59b2c: e1a01005 mov r1, r5 | |
66 | * 59b30: e1a00007 mov r0, r7 | |
67 | * 59b34: ebfffed2 bl 0x59684 | |
68 | * 59b38: e1a01000 mov r1, r0 | |
69 | * 59b3c: e1a04001 mov r4, r1 | |
70 | * 59b40: e3540000 cmp r4, #0 ; 0x0 | |
71 | * 59b44: 0a000000 beq 0x59b4c | |
72 | * 59b48: ebffff0e bl 0x59788 | |
73 | * 59b4c: ebfffe6d bl 0x59508 | |
74 | * 59b50: e8bd8ff0 pop {r4, r5, r6, r7, r8, r9, r10, r11, r15} | |
75 | * 59b54: c00b003c andgt r0, r11, r12, lsr r0 | |
76 | * 59b58: c00b0038 andgt r0, r11, r8, lsr r0 | |
77 | * 59b5c: c00b0034 andgt r0, r11, r4, lsr r0 | |
78 | * 59b60: c00b0030 andgt r0, r11, r0, lsr r0 | |
79 | * 59b64: 14000418 strne r0, [r0], #-1048 | |
80 | * 59b68: 00000366 andeq r0, r0, r6, ror #6 | |
81 | * 59b6c: 00000733 andeq r0, r0, r3, lsr r7 | |
82 | * 59b70: 00001005 andeq r1, r0, r5 | |
83 | * 59b74: 6110beef tstvs r0, r15, ror #29 <- LZW Header... | |
84 | * 59b78: 14000404 strne r0, [r0], #-1028 | |
85 | * 59b7c: 14000410 strne r0, [r0], #-1040 | |
86 | * 59b80: 46335053 undefined | |
87 | */ |