-
从键盘读入一个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
-
微机接口课程设计 数字钟实验 源代码
8255 8259 led显示 键盘
微机接口课程设计 数字钟实验 源代码
8255 8259 led显示 键盘-Computer Interface curriculum design, digital clock experiments show the source code 8255 8259 led keypad
- 2022-06-14 09:42:41下载
- 积分:1
-
手把手叫你学单片机,这是里面的源代码,很适合初学者快速上手51单片机的资料...
手把手叫你学单片机,这是里面的源代码,很适合初学者快速上手51单片机的资料-You to learn hands-called single-chip, which is inside the source code, it is suitable for beginners quick start 51 SCM information
- 2022-02-14 21:01:48下载
- 积分:1
-
十速单片机TM57PA40主要功能,对学习及使用十速单片机有很大帮助...
十速单片机TM57PA40主要功能,对学习及使用十速单片机有很大帮助-10-speed microcontroller TM57PA40 major functions of the learning and use of 10-speed microcontroller of great help
- 2023-07-19 12:45:03下载
- 积分:1
-
this program is use fo calculate the cube of 0~6,which defined as a array in the...
查0~6的立方值,在内存的TABLE中存放-this program is use fo calculate the cube of 0~6,which defined as a array in the ram memory
- 2022-03-05 18:12:16下载
- 积分:1
-
提供了键盘的扫描码目录,可以通过查询实现相关热键的拦截。...
提供了键盘的扫描码目录,可以通过查询实现相关热键的拦截。-Provides a keyboard scan code directory, can be achieved by querying the relevant hotkey to intercept.
- 2022-07-16 01:37:01下载
- 积分:1
-
电子琴的汇编程序 可以直接在ASM进行编译和运行
电子琴的汇编程序 可以直接在ASM进行编译和运行-Flower compilation procedure can be carried out directly in the ASM compiler and run-
- 2023-06-01 17:00:02下载
- 积分:1
-
一段用汇编语言完成的程序 非常好用 用于显示器的实现
一段用汇编语言完成的程序 非常好用 用于显示器的实现-section complete with assembly language is very useful procedure for the realization of displays
- 2023-01-29 10:15:03下载
- 积分:1
-
emluator LED emluator LED
emluator LED emluator LED
- 2022-02-25 04:46:37下载
- 积分:1
-
12232的应用程序,大家看看吧
12232的应用程序,大家看看吧-12,232 applications, we look at it
- 2022-02-24 13:26:57下载
- 积分:1