登录
首页 » 汇编语言 » 从键盘读入一个4进制数,CRT显示等效双…

从键盘读入一个4进制数,CRT显示等效双…

于 2022-12-17 发布 文件大小:981.00 B
0 205
下载积分: 2 下载次数: 1

代码说明:

从键盘读入一个四位的十六进制数,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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • TC9012
    TC9012编码芯片的编码格式及其解码汇编程序-TC9012
    2023-03-19 05:45:03下载
    积分:1
  • 电子钟源码,修改版,带温度计,完整程序下载。
    电子钟源码,修改版,带温度计,完整汇编程序下载。-Electronics clock source, modified version with a thermometer, complete download assembler.
    2022-03-01 04:28:35下载
    积分:1
  • 课程设计显示彩色矩形块
    汇编课程设计显示彩色矩形块-compilation curriculum design rectangular blocks of color show
    2022-08-03 06:22:57下载
    积分:1
  • 译的c++原代码
    编译的c++原代码-the original code
    2022-12-18 07:45:03下载
    积分:1
  • 间歇式LED的装配hcs08se8
    这是一个在所述微控制器 HCS08SE8,这使用的 I/O 端口到权力 ─ 断断续续地下了一系列的 LED 的汇编语言代码。此外,通过交换机我们控制序列。
    2022-05-21 00:19:59下载
    积分:1
  • 利用LS273译码器并结合8255a和8259写的电梯控制器程序
    利用LS273译码器并结合8255a和8259编写的电梯控制器程序-Use LS273 decoder 8255a and 8259 prepared in conjunction with the elevator control program
    2023-01-06 21:25:03下载
    积分:1
  • 直线电机的控制
    controling motor linearly
    2022-11-28 21:50:03下载
    积分:1
  • Five experimental hash table [the experiment was] one, the choice of hash functi...
    实验五 哈希表 [实验目的] 1、哈希函数的选择 2、用链表创建哈希表 3、输出哈希表 [题目] 假设人名为中国人姓名的汉语拼音形式。待填入哈希表的人名共有30个,取平均查找长度的上限为2。哈希函数用除留取余数法构造。用链表来处理冲突。-Five experimental hash table [the experiment was] one, the choice of hash function 2, create a hash table with linked list 3, the output hash table [subject] assumptions of people known as the Chinese name for the Chinese Phonetic Alphabet forms. Hash table to be populated with the names of a total of 30, taking the upper limit of the average search length of 2. Hash function used in addition to collecting more than the number of law structure. Used to deal with the conflict list.
    2022-01-26 03:18:43下载
    积分:1
  • 北京邮电大学 全套与接口课件(ppt版,共十章) 很完整也很实用,希望对大家有帮助...
    北京邮电大学 全套汇编与接口课件(ppt版,共十章) 很完整也很实用,希望对大家有帮助 -Complete compilation of Beijing University of Posts and interface Courseware (ppt version, a total of 10 chapters) is very complete and very useful, want to help everyone
    2022-08-07 09:31:15下载
    积分:1
  • 用VB做的一个简单通讯录
    用VB做的一个简单通讯录-VB do a simple directory
    2022-07-07 19:57:40下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载