-
从键盘读入一个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
-
晶振采用6M,P1口为数码管段输出口,P3.0~P3.2为数码管位输出口,P3.5超声波发送输出,P3.7超声波接收。...
晶振采用6M,P1口为数码管段输出口,P3.0~P3.2为数码管位输出口,P3.5超声波发送输出,P3.7超声波接收。
- 2022-01-28 20:43:29下载
- 积分:1
-
This is a brushless DC motor speed control based on the DSP2407 source code, eve...
这个是直流无刷电机的基于DSP2407的速度控制源代码,希望对大家有所帮助,平台是CCS2-This is a brushless DC motor speed control based on the DSP2407 source code, everyone would like to help, platform is CCS2
- 2022-07-06 22:52:11下载
- 积分:1
-
Software for the application of a sensor, AD converter is also a useful example...
软件为一个传感器的应用实例,也是AD转换的有用例子,关键地方都作了注解,希望对大家有所帮助-Software for the application of a sensor, AD converter is also a useful example of the key places have made comments, and they hope to help everyone
- 2023-08-29 22:10:02下载
- 积分:1
-
这是一个读写磁盘文件的例子,其中“infile”为读文件,“wfile”为写文件。...
这是一个读写磁盘文件的例子,其中“infile”为读文件,“wfile”为写文件。-This is a document to read and write disk example, "infile" to read documents, "wfile" written document.
- 2022-03-13 20:42:06下载
- 积分:1
-
许多专家推荐汇编语言编程指南书!!非
诸多高手推荐的汇编语言编程指导书!!非“汇编语言编程艺术”-Many experts recommend the assembly language programming guide book! ! Non-
- 2022-02-01 12:41:35下载
- 积分:1
-
This program implements a PIC
This program implements a PIC-based fuzzy inference engine for the Fudge fuzzy development system from Motorola.
It works by taking the output from Fudge for the 68HC11 processor, and converting it to a MPASM compatible assembler file using the convert
batch file.
This file can then be incorporated with fuzzy.asm to create a fuzzy inference engine.
Tool chain
----------
FUDGE -> Fuzzy Rules -> MC68HC11.ASM -> CONVERT.BAT -> RULES.ASM
-> MPASM FUZZY.ASM -> INTEL HEX
Fuzzy input registers
---------------------
current_ins 1..8 x 8-bit raw inputs
Fuzzy inference function
------------------------
FuzzyEngine
Fuzzy output registers
----------------------
cog_outs 1..8 x 8-bit raw outputs-This program implements a PIC-based fuzzy inference engine for the Fudge fuzzy development system from Motorola.
It works by taking the output from Fudge for the 68HC11 processor, and converting it to a MPASM compatible assembler f
- 2022-02-05 14:16:57下载
- 积分:1
-
用matlab所编用传输矩阵法计算光子晶体的能带结构的程序
用matlab所编用传输矩阵法计算光子晶体的能带结构的程序-prepared by using Matlab using the transfer matrix method photonic crystals with the structure of procedures
- 2022-02-11 11:28:40下载
- 积分:1
-
,片选接到p1.5
复位端 p1.4
中断端接到 int0
82c250工作在斜率模式下 ,RS 接51k电阻到地。
2,SJA10...
,片选接到p1.5
复位端 p1.4
中断端接到 int0
82c250工作在斜率模式下 ,RS 接51k电阻到地。
2,SJA1000与82C250的接口,逻辑上为SJA1000输出0(显性位),表现为低点平输出给82C250,则82C250输出
差分的低电平。SJA1000输出1(隐性位),表现为高电平或悬空输出给82C250,则82C250输出悬空状态。
3,周立功的中SJA_BCANCONF.ASM中对输出控制寄存器 的TX0的输出 极性的位的定义不对。
还有里面定义有接收错误标志码,不知道何时用。-, The election received a P1.5-chip client p1.4 interrupt reset int0 82c250 client received in the slope mode, RS then 51k resistor to ground. 2, SJA1000 with the 82C250 interface, logic for SJA1000 Output 0 (dominant bit), showing low level output to the 82C250, while the low-level differential output 82C250. SJA1000 Output 1 (recessive), and the performance of the output is high or left vacant to the 82C250, the vacant state 82C250 output. 3, Zhou Ligong in the SJA_BCANCONF.ASM of output control register TX0 output polarity bit the definition of wrong. Inside the definition also has to receive error flag code, I do not know when to use.
- 2022-06-28 07:07:40下载
- 积分:1
-
a notebook source
一个记事本源程序-a notebook source
- 2023-05-16 09:00:03下载
- 积分:1