-
从键盘读入一个4进制数,CRT显示等效双…
从键盘读入一个四位的十六进制数,CRT显示等值的二进制数.
由于每个十六进制数位对应4个二进制,所以每读入一个十六进制位后,即可将其对应的4个二进制位依次输出。由于数字‘0’~ ‘9’的ASCⅡ码为30H~39H,字母‘a’~‘f’与 ‘A’~‘F’的ASCⅡ码为61H~66H 与41H~46H ,因此,如果输入的字母为数字‘0’~‘9’,则其低4位即为对应的二进制位;如果输入的字符为字母‘a’~‘f’或‘A’~‘F’,则需要减7,然后通过移位将低4位依次输出。
-Reading from the keyboard into a 4 hexadecimal number, CRT display equivalent binary number. Since each hexadecimal number of the corresponding 4-bit binary, so every time into a hexadecimal places, can be its corresponding 4-bit binary sequence output. Due to the number
- 2022-12-17 12:35:03下载
- 积分:1
-
Tower of Hanoi program a total of three
汉诺塔程序 共有三个轴 码数由键盘输入 屏幕上输出移动的过程及次数-Tower of Hanoi program a total of three-axis code number on the screen from the keyboard input and frequency output of the process of moving
- 2022-11-12 21:20:03下载
- 积分:1
-
这个是关于实现三相异步电动机的PWM控制源代码,希望对大家有所帮助,平台是CCS2000,用到是TI公司TMSLF2407芯片...
这个是关于实现三相异步电动机的PWM控制源代码,希望对大家有所帮助,平台是CCS2000,用到是TI公司TMSLF2407芯片-This is on the realization of PWM three-phase asynchronous motor control source code, everyone would like to help, platform is CCS2000, is used TI chip companies TMSLF2407
- 2022-11-03 15:30:03下载
- 积分:1
-
IA-32汇编原代码,mars算法.相比于c/c++写的原代码,效率更高-IA-32 compilation of the original code, mars algorithm. Compared to c/c++ Write the original code, more efficient
- 2022-04-19 18:54:28下载
- 积分:1
-
MCS
MCS-96单片机A_D转换器应用,包括查询式方法和中断方法。查询法通过检测AD_RESULT(LO)中的S位来判定A/D转换是否完成,中断方法用来实现多任务处理。-MCS-96 microcontroller A_D converter applications, including inquiries approaches and methods interruption. Query by detecting AD_RESULT (LO), the S-judge A/D conversion if completed, Methods used to achieve interruption of multi-tasking.
- 2023-05-24 10:40:03下载
- 积分:1
-
温度传感器的C51源程序,可使用keil直接编译执行。
温度传感器的C51源程序,可使用keil直接编译执行。-temperature sensor C51 source can be used directly keil compiler implementation.
- 2022-10-12 22:00:03下载
- 积分:1
-
用C语言编写的单片机串口收发程序,使用时将其粘贴到C格式文件中即可...
用C语言编写的单片机串口收发程序,使用时将其粘贴到C格式文件中即可-Use of C language procedures for single-chip serial transceivers, use paste it into C format document can be
- 2023-05-01 06:50:03下载
- 积分:1
-
利用dos功能调用,显示字符和色彩图案
利用dos功能调用,显示字符和色彩图案-use function calls, showing character and color logo
- 2022-07-02 01:40:24下载
- 积分:1
-
本程序需在DOS下运行。每运行一次可执行程序random.exe,即可显示任意两个
16进制数的加法或减法表达式及其运算结果。在减法运算中,如果被减数小于减...
本程序需在DOS下运行。每运行一次可执行程序random.exe,即可显示任意两个
16进制数的加法或减法表达式及其运算结果。在减法运算中,如果被减数小于减数,显示
“Divide Overflow”的提示信息。-the process required under the DOS operating. Every time running executable random.exe. two shows can be arbitrary number of 16 Decimal Addition or subtraction expression and Operational results. The subtraction operation, if less than subtrahend minuend, shows that the "Divide Overflow" message.
- 2022-03-23 17:26:53下载
- 积分:1
-
TDN86/88 experimental system using real
利用TDN86/88实验系统模拟交通信号灯的实时控制和管理-TDN86/88 experimental system using real-time simulation of traffic signal control and management of
- 2022-03-24 15:31:32下载
- 积分:1