虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

KEIL <b>Rtx</b> 7.0

  • PL/0语言是Pascal语言的一个子集

    PL/0语言是Pascal语言的一个子集,我们这里分析的PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。   PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。以下源程序是以清华大学出版社《编译原理》中的源代码为基础作了少量改动而成。 程序在Turbo Pascal 7.0上编译运行通过。

    标签: Pascal 语言 PL

    上传时间: 2015-04-24

    上传用户:SimonQQ

  • 数字运算

    数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    标签: 数字 运算

    上传时间: 2015-05-21

    上传用户:daguda

  • 一个完整得AVR现场下载器

    一个完整得AVR现场下载器,制作源代码, AVR单片机现场ISP编程器程序 目标MCU: AT89S52-24PI 编译器:KEIL C51 7.0 晶振:11.0592MHz

    标签: AVR 下载器

    上传时间: 2015-05-26

    上传用户:trepb001

  • 电信网关平台(V3.0)

    电信网关平台(V3.0),适用协议:Smgp3.0 内含此协议 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 此为电信网关平台(3.0)源码。多线程实现。【已商用】 开发环境:Delphi 7.0 所需三方控件:Raize 3.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SMGPConfig.ini 配置文件请不要修改 LogConfig.ini 配置文件是记录日志时间状态,也不必修改

    标签: 3.0 电信 网关

    上传时间: 2014-01-02

    上传用户:lindor

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    标签: represented integers group items

    上传时间: 2016-01-17

    上传用户:jeffery

  • 《单片机语言C51应用实战集锦》配套源码《单片机语言C51应用实战集锦》是《单片机语言C51应用实战集锦》的配套书。它通过典型的应用程序介绍了8051单片机语言C51的软件编程技术。共有50多个典型应

    《单片机语言C51应用实战集锦》配套源码《单片机语言C51应用实战集锦》是《单片机语言C51应用实战集锦》的配套书。它通过典型的应用程序介绍了8051单片机语言C51的软件编程技术。共有50多个典型应用实例程序,每个程序都给出了C51高级语言程序清单并做了详细注释,而且这些程序都有实际应用参考价值。通过本书的学习和实践,读者能够掌握C51语言的编程应用技巧和方法,同时,本书的所有程序都是通过编译的,并且放入随书附赠的光盘中。   本书可供从事单片机开发、计算机应用开发的科技人员学习和参考。 环境要求:Windows 98/2000/XP Keil C51 7.0 版本 本盘附有书中的全部实例的代码模块,提供给读者参考之用。其中部分带有.UV2扩展名文件的是给出了实例的全部代码并且经过编译的,读者可以直接在Keil C51环境下编译运行。

    标签: C51 单片机语言 8051 集锦

    上传时间: 2016-05-17

    上传用户:hfmm633

  • 软件名字:Windows内存清理大师V1.0 软件介绍: Windows内存清理大师,是国内领先推出的一款内存清理软件,她能自动或者人工清理内存,优化内存

    软件名字:Windows内存清理大师V1.0 软件介绍: Windows内存清理大师,是国内领先推出的一款内存清理软件,她能自动或者人工清理内存,优化内存,让您的系统时刻保刻流畅。软件退出时会自动保存日志,让您对清理结果一目了然。 软件作者:FlyBird(飞鸟传说) 软件MD5值:E9B628F4F4AE3C35F7A4B23DE0EB8E44 软件论坛:http://forums.zxbc.cn/?fromuid=4 联系方式:E-mail:wucc513721@163.com QQ:17472439 软件编译平台:DELPHI 7.0 免责声明 一旦您使用本软件,即表示您愿意接受以下条约。 1、您同意尽您最大的努力来防止和保护未经授权的发表和使用本程式及其文件内容,作者保留所有无明确说明的权利。 2、若运行此软件后出现不良后果,作者对其概不负责,亦不承担任何法律责任。 3、作者对于软件所有功能之保证,已提供于软件内,没有任何其他额外保证。其他作者未提供之功能、品质或损及您其他之权益均非作者之保证范围;若有价值、瑕疵等问题,均非本软件作者之责任。 4、本软件著作权人为本软件作者,本软件最终解释权归本软件作者所有,本免责声明最终解释权归本软件作者所有。

    标签: Windows 内存 1.0 软件

    上传时间: 2014-06-15

    上传用户:dragonhaixm

  • 本代码为编码开关代码

    本代码为编码开关代码,编码开关也就是数字音响中的 360度旋转的数字音量以及显示器上用的(单键飞梭开 关)等类似鼠标滚轮的手动计数输入设备。 我使用的编码开关为5个引脚的,其中2个引脚为按下 转轮开关(也就相当于鼠标中键)。另外3个引脚用来 检测旋转方向以及旋转步数的检测端。引脚分别为a,b,c b接地a,c分别接到P2.0和P2.1口并分别接两个10K上拉 电阻,并且a,c需要分别对地接一个104的电容,否则 因为编码开关的触点抖动会引起轻微误动作。本程序不 使用定时器,不占用中断,不使用延时代码,并对每个 细分步数进行判断,避免一切误动作,性能超级稳定。 我使用的编码器是APLS的EC11B可以参照附件的时序图 编码器控制流水灯最能说明问题,下面是以一段流水 灯来演示。

    标签: 代码 编码开关

    上传时间: 2017-07-03

    上传用户:gaojiao1999

  • 离散实验 一个包的传递 用warshall

     实验源代码 //Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("请输入矩阵第%d 行元素:",a); for(int b=0;b<n;b++) { scanf ("%d",&temp[a][b]); } } for(i=0;i<k;i++){ for( j=0;j<k;j++){ if(temp[ j][i]==1) { for(t=0;t<n;t++) { temp[ j][t]=temp[i][t]||temp[ j][t]; } } } } printf("可传递闭包关系矩阵是:\n"); for(i=0;i<k;i++) { for( j=0;j<n;j++) { printf("%d", temp[i][ j]); } printf("\n"); } } void main() { printf("利用 Warshall 算法求二元关系的可传递闭包\n"); void warshall(int,int); int k , n; printf("请输入矩阵的行数 i: "); scanf("%d",&k); 四川大学实验报告 printf("请输入矩阵的列数 j: "); scanf("%d",&n); warshall(k,n); } 

    标签: warshall 离散 实验

    上传时间: 2016-06-27

    上传用户:梁雪文以

  • DTFT的计算

    已知系统函数为H(z)=1/[(1-0.2z^-1)(1-0.3z^-1)(1+0.4z^-1)]。试用长除法求h(n)的6点输出。 答案:clc;clear all;b=1;a=poly([0.2,0.3,-0.4]);x=deconv([1,zeros(1,6+4-1-1)],a)

    标签: DTFT 计算

    上传时间: 2017-10-21

    上传用户:zhouhua