-
用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
-
温度计原理图和源码
温度计原理图和源码-thermometer schematic and source
- 2023-04-15 00:25:03下载
- 积分:1
-
C8051f020 MCU Flash memory AD45DB081
c8051f020单片机Flash存储器AD45DB081-C8051f020 MCU Flash memory AD45DB081
- 2022-01-26 17:07:29下载
- 积分:1
-
AT89C51SND1C是AT89C51核心的处理器,包含一个MP3解码器,完全兼容8051的Keil C51编译环境,适合8051使用者的MP3解码应用。...
AT89C51SND1C是AT89C51核心的处理器,包含一个MP3解码器,完全兼容8051的Keil C51编译环境,适合8051使用者的MP3解码应用。-AT89C51SND1C is AT89C51 core processors, includes an MP3 decoder, 8051 is fully compatible with the Keil C51 compiler environment 8051 suitable for user
- 2022-04-18 23:34:16下载
- 积分:1
-
C51 subroutine DS1820
DS1820 C51 子程序-C51 subroutine DS1820
- 2022-02-03 04:42:04下载
- 积分:1
-
十五路遥控接收板
十五路遥控接收板-15 road remote control receiver
- 2023-02-20 08:20:04下载
- 积分:1
-
预付费电能表售电管理系统
预付费电能表售电管理系统-数据库应Delphi-Prepaid energy meter electricity sales management system- the database should be Delphi
- 2023-05-28 07:35:03下载
- 积分:1
-
这是一个430的延时程序,能够比较精确的延时n us,或者n ms
这是一个430的延时程序,能够比较精确的延时n us,或者n ms-This is a delay of 430 procedures, can be more precise delay n us, or n ms
- 2022-02-04 03:49:44下载
- 积分:1
-
合二为一的JTAGICE仿真器和ISP编程器全套资料,本人已实验成功
合二为一的JTAGICE仿真器和ISP编程器全套资料,本人已实验成功-JTAGICE simulation combined ISP programmer and a full set of information, I have conducted successful experiments in
- 2022-01-25 18:57:57下载
- 积分:1
-
ADC0809做的数字电压表,0
ADC0809做的数字电压表,0-5V,4个LED直接接单片机做显示,动态扫描写的驱动-ADC0809 do the figures in Table 0-6 voltage- 5V, 4 LED SCM done directly, dynamic scan was driven
- 2023-07-30 23:05:02下载
- 积分:1