资源简介
HEX转BIN工具 WIN 7 64位系统可用。
Hex2bin
Intel Hex or Motorola Hex file converter
Converts Motorola and Intel hex files to binary.
Executables for window
代码片段和文件信息
/*---------------------------------------------------------------------------*
* binary.c *
* Copyright (C) 2014 Jacques Pelletier *
* *
* This program is free software; you can redistribute it and *or *
* modify it under the terms of the GNU General Public License *
* as published by the Free Software Foundation; either version 2 *
* of the License or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not write to the Free Software Foundation *
* Inc. 59 Temple Place - Suite 330 Boston MA 02111-1307 USA. *
*---------------------------------------------------------------------------*/
#include
#include “binary.h“
const uint8_t Reflect8[256] = {
0x000x800x400xC00x200xA00x600xE00x100x900x500xD00x300xB00x700xF0
0x080x880x480xC80x280xA80x680xE80x180x980x580xD80x380xB80x780xF8
0x040x840x440xC40x240xA40x640xE40x140x940x540xD40x340xB40x740xF4
0x0C0x8C0x4C0xCC0x2C0xAC0x6C0xEC0x1C0x9C0x5C0xDC0x3C0xBC0x7C0xFC
0x020x820x420xC20x220xA20x620xE20x120x920x520xD20x320xB20x720xF2
0x0A0x8A0x4A0xCA0x2A0xAA0x6A0xEA0x1A0x9A0x5A0xDA0x3A0xBA0x7A0xFA
0x060x860x460xC60x260xA60x660xE60x160x960x560xD60x360xB60x760xF6
0x0E0x8E0x4E0xCE0x2E0xAE0x6E0xEE0x1E0x9E0x5E0xDE0x3E0xBE0x7E0xFE
0x010x810x410xC10x210xA10x610xE10x110x910x510xD10x310xB10x710xF1
0x090x890x490xC90x290xA90x690xE90x190x990x590xD90x390xB90x790xF9
0x050x850x450xC50x250xA50x650xE50x150x950x550xD50x350xB50x750xF5
0x0D0x8D0x4D0xCD0x2D0xAD0x6D0xED0x1D0x9D0x5D0xDD0x3D0xBD0x7D0xFD
0x030x830x430xC30x230xA30x630xE30x130x930x530xD30x330xB30x730xF3
0x0B0x8B0x4B0xCB0x2B0xAB0x6B0xEB0x1B0x9B0x5B0xDB0x3B0xBB0x7B0xFB
0x070x870x470xC70x270xA70x670xE70x170x970x570xD70x370xB70x770xF7
0x0F0x8F0x4F0xCF0x2F0xAF0x6F0xEF0x1F0x9F0x5F0xDF0x3F0xBF0x7F0xFF
};
uint16_t Reflect16(uint16_t Value16)
{
return (((uint16_t) Reflect8[u16_lo(Value16)]) << 8) | ((uint16_t) Reflect8[u16_hi(Value16)]);
}
uint32_t Reflect24(uint32_t Val
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6031 2015-02-22 12:59 Hex2bin-2.0\binary.c
文件 928 2015-02-23 04:31 Hex2bin-2.0\binary.h
文件 4704 2015-03-01 05:43 Hex2bin-2.0\binary.o
文件 15504 2015-03-01 05:54 Hex2bin-2.0\common.c
文件 2800 2015-02-28 21:28 Hex2bin-2.0\common.h
文件 19712 2015-03-01 06:02 Hex2bin-2.0\common.o
文件 1984 2014-11-22 21:19 Hex2bin-2.0\doc\ChangeLog_hex2bin
文件 1892 2014-11-22 21:20 Hex2bin-2.0\doc\ChangeLog_mot2bin
文件 9005 2015-02-22 09:08 Hex2bin-2.0\doc\CRC list.txt
文件 1405 1999-07-28 04:46 Hex2bin-2.0\doc\formats.txt
文件 16660 1999-07-28 04:46 Hex2bin-2.0\doc\intelhex.spc
文件 7097 2015-03-01 06:02 Hex2bin-2.0\doc\README
文件 14580 1999-07-28 04:46 Hex2bin-2.0\doc\S-record.txt
文件 18593 2015-01-24 13:17 Hex2bin-2.0\doc\srec.txt
文件 18593 1999-07-28 04:46 Hex2bin-2.0\doc\srec.txt~
文件 22792 2015-03-01 06:02 Hex2bin-2.0\hex2bin
文件 9318 2015-03-01 05:30 Hex2bin-2.0\hex2bin.1
文件 20711 2015-03-01 05:01 Hex2bin-2.0\hex2bin.c
文件 15112 2015-03-01 05:43 Hex2bin-2.0\hex2bin.o
文件 4827 2015-03-01 05:30 Hex2bin-2.0\hex2bin.pod
文件 4771 2015-02-23 06:08 Hex2bin-2.0\libcrc.c
文件 2331 2015-02-22 12:16 Hex2bin-2.0\libcrc.h
文件 3120 2015-03-01 05:43 Hex2bin-2.0\libcrc.o
文件 253 2015-02-22 13:10 Hex2bin-2.0\make.log
文件 1142 2015-03-01 06:19 Hex2bin-2.0\Makefile
文件 22792 2015-03-01 06:02 Hex2bin-2.0\mot2bin
文件 17712 2015-03-01 05:19 Hex2bin-2.0\mot2bin.c
文件 16288 2015-03-01 05:49 Hex2bin-2.0\mot2bin.o
文件 3200 2015-02-28 22:36 Hex2bin-2.0\test\example..cmd
文件 3456 2015-03-01 05:16 Hex2bin-2.0\test\example.bin
............此处省略111个文件信息
相关资源
- AutoBiped-Bone转Biped工具
- 点云pcd与txt之间的转换
- qt界面跳转切换
- 用FormatDataLibsvm.xls将数据转换成Libsv
- 设计一个按时间片轮转法实现处理器
- winhex 模板(102个模板)
- 打印机的脱机文件.SPL转为可供查看的
- bmp 位图转换可将24 位t转为16 / 8 / 4 位
- 多项式辗转相除法
- 数字DA转换器(FPGA Verilog)
- 把bin填充0xFF到指定大小(含源码)
- 像素和毫米转换
- CentOS-6.7-x86_64-bin-DVD1.iso地址列表.txt
- 12位AD转换器TLC2543与51系列单片机接口
- text.hex
- GPSR_KeLiu_SUNY_Binghamton.tgz
- flash模拟地球公转自转
- OpenGL实现多边形扫描转换的扫描线算
- 旋转编码器的抗抖动计数电路
- mii转rmii接口
- Unity鼠标操作平移、旋转、缩放
- 复杂网络数据从excel转pajek软件
- 二叉树与树、森林的转换数据结构课
- 百度地图坐标拾取器可转换为高德坐
- 基于TL431电压基准的STC15W408AS-10位AD转
- mid文件装换成乐谱的软件
- superboot-20110405.bin
- 平面转3d立体图片工具
- 实现一个界面跳转到另一个界面
- 兵河五四v0.6源码
评论
共有 条评论