-
用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
-
PIC18F family some LCD driver
Microchip PIC18F 设备驱动 LCD部分-PIC18F family some LCD driver
- 2022-08-16 15:37:56下载
- 积分:1
-
Experimental procedures BTF020 development board comes with
BTF020实验程序-1 btf020开发板自带-Experimental procedures BTF020 development board comes with-1 btf020
- 2023-05-31 01:20:03下载
- 积分:1
-
AVR简单的串口程序,适合初学者学习,可以直接应用
AVR简单的串口程序,适合初学者学习,可以直接应用-AVR simple serial program, suitable for beginners to learn, can be applied directly
- 2022-04-13 11:01:25下载
- 积分:1
-
基于MicroBlaze的LED闪烁
blink led using microblaze
- 2022-05-24 23:25:46下载
- 积分:1
-
DS18B20测量温度 1602做为液晶显示温度
c语言编写 有注释
DS18B20测量温度 1602做为液晶显示温度
c语言编写 有注释-DS18B20 measuring temperature as a liquid crystal display 1602 temperature c languages have Notes
- 2022-11-11 01:20:03下载
- 积分:1
-
在单片机控制的液晶屏上显示汉字,uVision开发平台。
在单片机控制的液晶屏上显示汉字,uVision开发平台。-In single-chip microcomputer controlled LCD screen display of Chinese characters, uVision development platform.
- 2022-10-08 10:55:03下载
- 积分:1
-
单片机实例,报告,很多的应用实例,对于初级单片机程序员有很大作用...
单片机实例,报告,很多的应用实例,对于初级单片机程序员有很大作用-Singlechip example, reports, a lot of application examples for the primary single-chip programmer plays a significant role in
- 2022-08-22 16:26:22下载
- 积分:1
-
c8051f020串口调试程序,针对c8051系列芯片,这是一个不错的例子噢〉...
c8051f020串口调试程序,针对c8051系列芯片,这是一个不错的例子噢〉-C8051f020 serial debugging procedures against c8051 series chip, which is a good example Oh>
- 2022-05-31 13:04:45下载
- 积分:1
-
PCF8563时钟芯片驱动89C51
PCF8563 时钟芯片驱动 89C51
-PCF8563 clock chip driver 89C51
- 2022-04-25 04:55:00下载
- 积分:1