首先谢谢大家的回复!!
其次,我希望还能继续得到大家的帮助!
其实这是个很大的程序,所以也不知道怎样才能把我的
意思说清楚,真急人啊!!
我有一个文件,格式如下列,要把这样的文件全部翻译成二进制
,并进行解算。
上面写的那段函数,就是要把每一段码的第45个到第48个翻译成二进制,
再乘以2的-8次方。
8B 50 30 A2 D2 AB 00 00 05 03 F8 E4 98 91 07 0C 77 2C 06 E4 27 67 FF FF FD 94 FF FF FD 60 00 00 02 89 15 22 00 00 00 00 03 08 2D 33
0B 13 23 1C FF EB 44 29 26 4C 59 7D 10 08 2B 38 06 C9 DE E6 FE 07 0B 10 28 81 15 79 13 08 2C 1E 17 10 EC 4D 03 C9 2C 98 28 E2 51 F5 0F 08 23 77 0A 1C EF A9 FE F9 7B 69 2A 82 61 E4 19 08 27 00 04 85 C1 F0 F9 9B 0F 65 2C 70 EA 6E 17 08 2D 1E 12 36 82 87 FB C1 EC 3D 2B E9 5B 7D 0D 08 2B 65 0C 1A 4A C4 FE FE 32 48 2C 6C 32 D5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15 05 24 12 00 00 00 00 FB F4 3C F9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3D 29
8B 50 30 A2 D2 AC 00 00 05 03 F8 E4 98 82 07 0C 77 3E 06 E4 27 71 00 00 02 F8 FF FF F7 1E 00 00 0D 71 15 22 00 00 00 00 03 08 2E 33
0B 12 FA 50 FF E9 57 8E 26 4C 5A 7B 10 08 2B 38 06 C5 EC 08 FE 05 61 51 28 81 2D 7D 13 08 2C 1E 17 18 7B FC 03 C6 44 A2 28 E2 23 E3 0F 08 24 77 0A 1A E1 0A FE F6 01 94 2A 82 6F 35 19 08 28 00 04 78 FE 8E F9 9D 4A 12 2C 71 37 58 17 08 2D 1E 12 2E 06 BE FB C0 99 3C 2B E9 8E EE 0D 08 2B 65 0C 18 4A 4A FE FC D1 BC 2C 6C 3F 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15 05 23 12 00 00 00 00 FB F1 C0 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 38 B2
8B 50 30 A2 D2 AE 00 00 06 03 F8 E4 98 44 07 0C 77 84 06 E4 27 80 00 00 01 3C 00 00 06 EC FF FF FB 95 10 1A 00 00 00 00 03 08 2E 33
0B 12 AD 48 FF E8 71 EC 26 4C 5C AF 10 08 2C 38 06 BE 0B 51 FE 06 15 88 28 81 5D 6E 13 08 2B 1E 17 27 A0 44 03 C4 59 45 28 E1 C7 91 0F 08 26 77 0A 16 C7 61 FE F6 15 6F 2A 82 87 81 19 08 29 00 04 5F 7D 59 F9 9A F5 6A 2C 71 D2 78 17 08 2E 1E 12 1D 14 93 FB C0 21 A8 2B E9 F6 10 0D 08 29 65 0C 14 4D C1 FE FB 80 0A 2C 6C 57 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15 05 21 12 00 00 00 00 FB F0 3D 9F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 38 8E
这样子,不知道能不能让大家明白我的意思,希望能得到大家的帮助。