如何将数组转成BIN文件?如我在KEIL C51 中建一个纯数组,编译后生成HEX文件,那原理是怎样的?

 我来答
巨琬凝8x
2011-01-08 · TA获得超过141个赞
知道小有建树答主
回答量:103
采纳率:0%
帮助的人:66.9万
展开全部
char a[1]; 在keil里面只有这个
对应的hex就是执行的机器码是
000000 02 00 03 78 7F E4 F6 D8 FD 75 81 08 02 00 4A 02
000010 00 00 E4 93 A3 F8 E4 93 A3 40 03 F6 80 01 F2 08
000020 DF F4 80 29 E4 93 A3 F8 54 07 24 0C C8 C3 33 C4
000030 54 0F 44 20 C8 83 40 04 F4 56 80 01 46 F6 DF E4
000040 80 0B 01 02 04 08 10 20 40 80 90 00 8F E4 7E 01
000050 93 60 BC A3 FF 54 3F 30 E5 09 54 1F FE E4 93 A3
000060 60 01 0E CF 54 C0 25 E0 60 A8 40 B8 E4 93 A3 FA
000070 E4 93 A3 F8 E4 93 A3 C8 C5 82 C8 CA C5 83 CA F0
000080 A3 C8 C5 82 C8 CA C5 83 CA DF E9 DE E7 80 BE 00
000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
原理是把c的语句编程会变的assume cs:code
mov 80h,a
mov ss,a
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式