搜索资源列表
123
- 4、利用模块化程序编写一个字母或数制之间的转化程序,5为主模块,调用模块1和模块7 模块1又调用模块2、3、4和6四个模块,其中: 模块2实现小写字母向大写字母的转换 模块3实现大写字母向小写字母的转换 模块4实现二进制数向十六进制数的转换 模块6实现十六进制数向二进制数的转换 模块7实现十六进制数向十进制数的转换 按“q”键退出。 -4, the use of modular programming between a letter or number
zhuanhuan
- 要求从键盘输入一位十进制数,将这个数以二进制形式在屏幕上显示。 (提示:从键盘输入(1号调用)的数为十进制数的ASCII码,在AL寄存器中;为保证输入的为0到9之间的数字,需用2条CMP指令比较;在屏幕输出8位二进制数,采用循环LOOP指令,次数在CX中) -要求从键盘输入一位十进制数,将这个数以二进制形式在屏幕上显示。 (提示:从键盘输入(1号调用)的数为十进制数的ASCII码,在AL寄存器中;为保证输入的为0到9之间的数字,需用2条CMP指令比较;在屏幕输出8位二进制
ZHISHU
- 从键盘输入(0-65535)的一个十进制数并且输出小于它的所有素数-From the keyboard input (0-65535) and the output of a decimal number less than all of its prime
ext_int0
- //&&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& //功能描述: // 本程序为5.4节配套程序 & // INTO按键为计数按键,数码管显示按键的次数 & // 上电后数码管显示0,十进制显示 & //&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& //【声明】 此程序仅用于学习与参考
SCM_in_BCD_conversion
- 单片机中BCD码的转换 涉及十进制与BCD的相互转换 及十六进制与BCD的相互转换-SCM in conversion of BCD involving decimal and BCD mutual transformation and hex and BCD conversion to each other
ADzh
- 51单片机的应用:给AD0804一个0~5V的可调模拟信号,使采样后对应显示0~255十进制数。-51 microcontroller applications: to the AD0804 an adjustable 0 ~ 5V analog signal, so that after sampling the corresponding display 0 to 255 decimal.
Debug-for-16f877a
- 这是PIC16F877A上用汇编语言写的16位数的数码管显示程序.主要的关键点是计算十进制每一位数的方法.虽然很多人用c语言,就可以比较简单得实现这一功能,但汇编语言有它代码简短,计算快的好处,我提供这一代码给大家参考一下.-It is written in assembly language on the PIC16F877A 16-digit digital display program. The key point is to calculate the decimal digits o
funny-clock(using-c-knowledge)
- 功能:【1】时钟显示(包括小时,分钟) 二十四/十二小时制模式转换;校时功能(应能手动校时);整点报时。 【2】闹钟提示设定3组闹钟当设定时间到时,闹钟响铃,同时屏幕出现一组十进制两位的加减乘除运算,此时使用者可通过屏幕下方的一排按键进行输入,如结果正确则停止响铃。若出现使用者不理闹钟或结果一直无法正确的情况,那么闹钟将隔5分钟响一次,直到答对为止。通过计算可以在短时间内让使用者达到清醒状态,实现闹钟的目。 -Function: 【1】 clock display (including
FloatBin
- 这FloatBin是软件工程师或单片机工程师实用的小工具,特别是刚入门的朋友。 该软件可以将单精度(single)浮点数或双精度(double)浮点数转换成二进制、十进制、十六进制字节内码表示,也可以将字节内码转换成浮点进行逆变换。不到1M的数据量,精简而不失实用性。全免费,无需注册,解压即能使用。该软件源来自于www.aitek.tw的客服,原本为方便其客户调试其仪器之通讯数据,在经得其客服同意后,分享给大家应用。软件的输入带有容错性检测,在输入二进制数据时必须以1byte的8位长度限
AD
- AD模数转换器与C51单片机上的使用,通过调节AD是数码管上显示十进制数字-AD adc and the use of the single C51 by adjusting the AD is displayed on digital tube to a decimal number
zimuchuli
- 从键盘输入一个字母,对该字母做如下处理: 1.求出前驱字母,如该字母为 a ,则前驱为 z . 2.求出后继字母,如该字母为 z ,则后继为 a . 3.分别以八进制.十进制.十六进制形式显示ASCII.-Enter a letter from the keyboard, the letters do the following treatment: 1. Find the precursor of letters, such as the letters ' a' ,
3
- 十进制计数器,用于计数,有三个控制端,分别为是时钟.复位.使能端-Decimal counter, for counting, there are three control side, respectively, is the clock. Reset. Enable
1602-frquency
- 频率计的程序:包含外部中断设置,中断服务程序,定时程序,定时服务程序 以及数据处理,显示,包括 三位十进制数转化为四位BCD码。-Frequency Counter program: Includes external interrupt settings, the interrupt service routine, regular program, regular service program and data processing, display, including three o
shu-zhi-zhuanhuan
- 巧用移位法进行数制转换:十进制BCD码转二进制数的流程图,二进制数转十进制BCD码的流程图,用的都是移位法!!请欣赏-Using the shift number conversion method: binary decimal BCD code to switch the flow, turn binary decimal BCD code flow chart, the shift method is used! ! Please enjoy! !
12.11
- 基于51单片机,产生一个五十进制计数器,并且用数码管显示,内有仿真原理图-Based on 51 single-chip, resulting in a five-decimal counter, and with digital display, there are simulation schematic
ourdev_508935
- 用汇编语言写了一个十进制到二进制,二进制到十进制的转换程序,以缩短数制转换程序运行时间,本程序已编译成库函数和编写了相应的头文件,在GCC中可直接调用,如用其他的AVR单片机C编译器,可将提供的源程序作适当修改后使用。-Written in assembly language of a decimal to binary, binary to decimal conversion program to reduce the number system conversion program is
voltmeter
- 电压值的十进制显示,即电压表,精度为两位小数-Voltage value of the decimal show the voltmeter with an accuracy of two decimal places
BCD
- 51单片机实现,用汇编实现BCD码的十进制加法,低位不带进位加法,高位带进位加法-51 assembly to achieve BCD coded decimal addition
Data-transfer
- 数据转换,键盘输入2位(或以上)十进制数,分别转换成十六进制数、 BCD码、七段共阳极码。 -Data transfer, keyboard input two (or more) decimal number, were converted into a hexadecimal number, BCD and seven section of the anode yards.
51-practical-subroutine-(assembly)
- 第1章 二进制定点数运算 第2章 二进制浮点数运算 第3章 十进制(BCD码)数运算 第4章 代码转换 第5章 数据变换 第6章 排序、查找和非线性算法 第7章 数学函数 第8章 树和图 第9章 延时与跳转控制 第10章 人机交互接口 第11章 单片机测控接口 第12章 51单片机内部资源编程实例 第13章 单片机数据传输接口 第14章 波形发生与控制实例 第15章 C51单片机软件抗干扰和数字滤波-Chapter 1 dot binary