-
用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用...
用C51实现的拼音输入法,这是改写的网友 embuffalo、独步上载在www.21ic.com自由发布区的由张凯原作的51上的拼音输入法程序。
原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。
因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的 :-(
编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。
在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。
打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。-C51 with the Pinyin input method, which is rewritten netizens embuffalo. Unrivaled www.21ic.com available in the free publication of the original work by Kai-51 on the Pinyin input method procedures . Appreciate the use of a two-dimensional array for the look-up table, I think this is a waste of space. Each of the characters but the index table to manually input address, efficiency is not high. I use the structure to rewrite a bit. We see now is this. Because the code comparison, a total of 6, more than 000 Chinese characters, this must
- 2023-04-01 14:55:03下载
- 积分:1
-
The book detailed the KEIL C51 compiler use, is to learn from books SCM.
本书详细介绍了KEIL C51编译器的使用,是学习单片机的好书。-The book detailed the KEIL C51 compiler use, is to learn from books SCM.
- 2022-05-15 18:59:36下载
- 积分:1
-
The use of assembly language, design a reading environment temperature and displ...
利用汇编语言,设计一个读取环境中的温度并显示出来的系统-The use of assembly language, design a reading environment temperature and display system
- 2023-05-27 18:25:04下载
- 积分:1
-
单片机复位电路应用集锦,希望能给用到的朋友们帮助
单片机复位电路应用集锦,希望能给用到的朋友们帮助-Application of single-chip reset circuit allehanda, hope that they will be used to help my friends
- 2022-07-13 14:14:42下载
- 积分:1
-
ATmega8
ATmega8-使用Protues仿真,让你不用开发板也可以学到单片机.-ATmega8-use Protues simulation, so you do not have development board can also be learned Singlechip.
- 2022-03-15 08:51:50下载
- 积分:1
-
161的读者,在程序AT45DB161B一看
161的读写,看看 at45db161b的程序-161 reader, a look at the procedures at45db161b
- 2022-07-28 09:04:51下载
- 积分:1
-
这个文件主要是2006年广东省大学生电子设计竞赛设计报告
这个文件主要是2006年广东省大学生电子设计竞赛设计报告-err
- 2023-04-01 19:20:04下载
- 积分:1
-
此文档是单片机控制的家用饮料快速冷热保温机。。。
此文档是单片机控制的家用饮料快速冷热保温机。。。
-This document is a single-chip microcomputer controlled domestic hot and cold beverages fast machine insulation. . .
- 2022-02-20 05:59:17下载
- 积分:1
-
对数字语音系统的开发有帮助 包含常用资料,开发程序,及调试报告等...
对数字语音系统的开发有帮助 包含常用资料,开发程序,及调试报告等-right digital voice system development are used to help contain information on the development of procedures and debugging report
- 2022-02-13 12:41:41下载
- 积分:1
-
时钟芯片ds1302 程序
源程序按版本号放在文件夹中。里面有在Protues中仿真的DSN文件。
打开MPLAB的MCP文件进行编译
将DSN文件...
时钟芯片ds1302 程序
源程序按版本号放在文件夹中。里面有在Protues中仿真的DSN文件。
打开MPLAB的MCP文件进行编译
将DSN文件载入Protues中
将生成的HEX导入到Protues中的16F84A中 -> RUN-Clock chip DS1302 procedures in accordance with the version number on the source folder. Protues there are in the DSN file in the simulation. Open the MPLAB compiler of the MCP file DSN file loading will be generated by HEX will Protues into Protues in 16F84A in-
- 2022-02-07 10:24:45下载
- 积分:1