-
用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
-
时钟芯片DS1302的使用,用LED显示的,具有键盘调节功能,在Keil下测试通过...
时钟芯片DS1302的使用,用LED显示的,具有键盘调节功能,在Keil下测试通过-The use of clock chip DS1302 with LED display with a regulatory function of the keyboard, under the test adopted in Keil
- 2022-10-16 14:00:03下载
- 积分:1
-
Variable speed stepper motor program is an AVR microcontroller to drive a steppe...
无级变速步进电机程序是一个AVR单片机驱动步进电机正反转的程序,并且有加减速度功能-Variable speed stepper motor program is an AVR microcontroller to drive a stepper motor is reversing the process, and has the speed function of addition and subtraction
- 2022-08-10 18:35:03下载
- 积分:1
-
UCDOS16x16汉字字库的二进制字模文件
UCDOS16x16汉字字库的二进制字模文件-UCDOS16x16 汉字字库的???8 制字模文?
- 2023-07-20 20:05:02下载
- 积分:1
-
一个基于stc89s52 nRF2401的demo代码,
一个基于stc89s52 nRF2401的demo代码,-Stc89s52 nRF2401 based on the demo code,
- 2022-02-02 01:19:57下载
- 积分:1
-
C51定时器应用-实时时钟
C51定时器应用-实时时钟-C51 timer application-real-time clock
- 2023-04-18 08:10:03下载
- 积分:1
-
液晶显示的程序,c语言编写!转摘!
液晶显示的程序,c语言编写!转摘!-LCD procedures, c language! Journals!
- 2023-08-24 20:15:08下载
- 积分:1
-
加湿器程序源代码,4位机,tenx tm8726
加湿器程序源代码,4位机,tenx tm8726-Humidifier source code, four machines, tenx tm8726
- 2022-03-28 20:27:51下载
- 积分:1
-
- 2023-03-30 02:15:03下载
- 积分:1
-
In this experiment to learn how to use the CC2420 will be the address decoding f...
在本实验中将学习如何利用 CC2420 的地址译码功能来接收基于IEEE802.15.4 的标准
帧。CC2420 在硬件上支持地址译码,可以在MDMCTRL0 寄存器中进行设置,-In this experiment to learn how to use the CC2420 will be the address decoding function to receive a standard based on IEEE802.15.4 frame. CC2420 hardware support for address decoding, you can MDMCTRL0 register set,
- 2023-04-26 03:35:03下载
- 积分:1