-
从键盘读入一个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
-
61k
61k.asm是一个在MOTO-80编程环境应用于68HC908QTY MCU,作为日光灯单键调光控制程序(61k.asm is a MOTO-80 programming environment used 68HC908QTY MCU, as a single fluorescent lamp dimming control procedures)
- 2008-07-15 20:52:54下载
- 积分:1
-
80x86asm
80x86汇编语言程序设计习题参考答案,能很快掌握一门技术,对汇编,尤其软考提高很快(80x86 assembly language programming exercises reference answers quickly grasped as a technology, the compilation, in particular to improve the soft test soon)
- 2009-01-08 21:05:55下载
- 积分:1
-
shizhong3
电子时钟,LED动态显示,带校准和闹钟功能,是汇编程序,希望对初学单片机的朋友有帮助(Electronic clock, LED dynamic display, with calibration and alarm clock function, is the compilation of procedures, in the hope of learning has helped Singlechip Friend)
- 2008-07-22 20:05:22下载
- 积分:1
-
calulating routine for frequence , which is based on both calulating routine for...
基于PIC嵌入式系统的频率计算程序和电路的频率计算程序
- 2022-04-11 18:56:35下载
- 积分:1
-
国标 DLT
国标 DLT-1997 645通讯协议 汇编代码-645 communication protocol assembly code
- 2022-01-28 09:49:03下载
- 积分:1
-
x86下保护模式的编程实例包括门调用
x86下保护模式的编程实例包括门调用...
x86下保护模式的编程实例包括门调用
x86下保护模式的编程实例包括门调用-x86 protected-mode programming under the examples include the door called x86 protected-mode programming under the examples include the door call
- 2022-01-27 08:51:33下载
- 积分:1
-
它的源代码,外国人高
ad9951的源代码,外国人高的用兴趣的朋友,看看希望对你有帮助-AD9951 source code, foreigners with high-interest friends to see if you would like to have help
- 2022-06-15 09:31:10下载
- 积分:1
-
微机接口课程设计:8255控制交通灯
微机接口课程设计:8255控制交通灯-Computer Interface Design Course : 8255 11111111111111 control traffic lights
- 2022-02-11 10:39:24下载
- 积分:1
-
Festival, and calculated
获得温度节,并进行计算-Festival, and calculated
- 2022-02-02 13:33:52下载
- 积分:1