-
从键盘读入一个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
-
能够运行,所需要的条件语句能够完成统计的功能.希望能够通过,我真的好想下载个....
能够运行,所需要的条件语句能够完成统计的功能.希望能够通过,我真的好想下载个.-to run, the conditions required to complete the statement of statistical functions. Hope to be able to do I really very much wish to download months.
- 2023-01-20 14:35:03下载
- 积分:1
-
这是一个判断某一年是否为润年的程序,运行可执行程序Ifleap.exe后,输入具体的年份, 可输出是本年是否为闰年的提示信息。...
这是一个判断某一年是否为润年的程序,运行可执行程序Ifleap.exe后,输入具体的年份, 可输出是本年是否为闰年的提示信息。-This a judgment of whether a particular year of a leap year, the running executable Ifleap.exe after importation of specific year, the output this year is a leap year if the message.
- 2022-10-18 18:10:03下载
- 积分:1
-
Ended at 10:00 p.m. on March 15, 2003 before finishing FAQ valuable CSDN finishe...
截止于2003年3月15日22时以前的CSDN有价值的FAQ整理完毕!asm,asm-Ended at 10:00 p.m. on March 15, 2003 before finishing FAQ valuable CSDN finished! asm, asm
- 2022-07-02 02:57:13下载
- 积分:1
-
采用PIC16C54单片机实现车内空气的运动控制
用PIC16C54来实现汽车空调的动作控制(扫风、除霜、点火、循环扫风。。。),因16C54内存较小,故采用汇编来实现,其中的定时编程,颇费了我一番心思,希可供借签!-Using PIC16C54 to achieve motion control in vehicle air-conditioners (sweep wind, defrost, ignition, cycle the wind sweep 。。。), due to the smaller memory 16C54, it used to realize a compilation, of which the regular programming, a lot of my remarks thinking, by signing for Greek!
- 2022-07-02 02:53:49下载
- 积分:1
-
c语言
猜拳游戏的原代码就是这个
已经测试成功了呀
c语言
猜拳游戏的原代码就是这个
已经测试成功了呀-language of the original game is the code has been tested successfully ah
- 2022-02-13 04:24:05下载
- 积分:1
-
MCS
MCS-96单片机要用PWM产生锯齿波,应使PWM寄存器中的值线性增加,那么在PWM输出端将得到宽度线性增加的脉冲波,经滤波后,便可得到锯齿波。-MCS-96 microcontroller with PWM have Sawtooth, PWM register should be the value of linear increase, then the PWM output will be increased linearly width of the pulse wave, After filtering, it will be Sawtooth.
- 2022-03-03 14:01:07下载
- 积分:1
-
To achieve control of traffic lights
实现交通灯控制,有行人过街按钮和紧急按钮-To achieve control of traffic lights
- 2022-05-09 02:51:52下载
- 积分:1
-
This example prints out "HELLO WORLD!" by writing directly to the video memory.
This example prints out "HELLO WORLD!" by writing directly to the video memory.
- 2023-02-21 22:40:04下载
- 积分:1
-
有好多vb入门代码,其中注释较多,
请根据要求查看!
有好多vb入门代码,其中注释较多,
请根据要求查看!-Vb has a lot of entry-code, which notes more, please ask to see!
- 2023-07-19 22:05:03下载
- 积分:1