Description: 用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 be 12, byte to store 000 GB code, is not the way to compile results :-( about 3000h. because most of the index table. Code Optimization almost ineffective. Keil in the C simulation uses the chip in W77E58 Winbond, It has 32 k ROM 256B on-chip RAM, 1K on-chi Platform: |
Size: 14619 |
Author:Jawen |
Hits:
Description: 工程师在用Keil开发程序时,在代码性能要求较高的场合,需要对代码段的执行时间作统计。比如在做LED显示屏软件扫描程序,或一些定时采集数据程序,如果在软件仿真的时候就能够清晰知道代码段的运行时间,那就可以对程序进行优化,或者插入汇编代码(asm)达到最高运行速度。
关键字:Keil DLL C语言 ASM 汇编-engineers in the development process with Keil, the code performance requirements higher occasions, need to block the execution time statistics. For example, in the software do LED scanning procedures, or some regular data collection procedures, If the software simulation time can understand clearly code of the running time, it can process optimization, or insert code compilation (asm2) to achieve maximum speed. Keywords : Keil DLL C language compilation ASM Platform: |
Size: 245864 |
Author:波波J |
Hits:
Description: //特 点: //
// 1、功能完整,直接使用 //
// 2、模块独立性强,移植方便,外部仅init和move函数,修改显示和输入即可 //
// 3、对减少内存占用、尽量减少屏幕操作进行适当优化 //
// 4、新方块生成高度随机,绝对无规律 //
// 5、仿真环境为Keil7.5+Proteus6.5,可以联机也可脱机运行 //
-//features :// 1, the functional integrity, the use of direct//// 2, module-independence, Transplant convenience, external and move only init function, and the amendment shows can be imported//// 3. to reduce the memory footprint, minimizing operating properly screen optimization//// 4, the new generation highly random box, absolutely no rules//// 5, the simulation environment for Keil7.5 Proteus6.5. can be on-line off-line operation Platform: |
Size: 402432 |
Author:slam |
Hits:
Description: 用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 be 12, byte to store 000 GB code, is not the way to compile results :-( about 3000h. because most of the index table. Code Optimization almost ineffective. Keil in the C simulation uses the chip in W77E58 Winbond, It has 32 k ROM 256B on-chip RAM, 1K on-chi Platform: |
Size: 14336 |
Author:Jawen |
Hits:
Description: 工程师在用Keil开发程序时,在代码性能要求较高的场合,需要对代码段的执行时间作统计。比如在做LED显示屏软件扫描程序,或一些定时采集数据程序,如果在软件仿真的时候就能够清晰知道代码段的运行时间,那就可以对程序进行优化,或者插入汇编代码(asm)达到最高运行速度。
关键字:Keil DLL C语言 ASM 汇编-engineers in the development process with Keil, the code performance requirements higher occasions, need to block the execution time statistics. For example, in the software do LED scanning procedures, or some regular data collection procedures, If the software simulation time can understand clearly code of the running time, it can process optimization, or insert code compilation (asm2) to achieve maximum speed. Keywords : Keil DLL C language compilation ASM Platform: |
Size: 245760 |
Author:波波J |
Hits:
Description: 一个不错的keil优化手册,适合初学者,希望能提供帮助-A good optimization keil manual, suitable for beginners, hoping to provide help Platform: |
Size: 1242112 |
Author:张成建 |
Hits:
Description: keil c 语言优化手册 keil c 语言优化手册-keil c language optimization manual optimization of keil c language manual optimization of keil c language manual Platform: |
Size: 1245184 |
Author:朱云 |
Hits:
Description: 采用0.618黄金分割法求解最优解,编译软件为KEIL C,其中ak=3.985776,f(ak)=-155.9915
-0.618 golden section method used to solve the optimal solution, the compiler software for the KEIL C, in which ak = 3.985776, f (ak) =- 155.9915 Platform: |
Size: 1024 |
Author:czk |
Hits:
Description: 基于互信息的图像配准,优化算法采用Powell算法,采用matlab编写-Mutual information-based image registration, optimization algorithm uses Powell algorithm, using the preparation of matlab-Based on mutual information image registration, using Powell optimization algorithm, using matlab-Mutual information-based image registration, optimization algorithm uses Powell algorithm, using the preparation of matlab Platform: |
Size: 25518080 |
Author:王强 |
Hits: