登录
首页 » 嵌入式芯片 » 基于UART的加法器的实现

基于UART的加法器的实现

于 2022-03-26 发布 文件大小:5.09 MB
0 204
下载积分: 2 下载次数: 1

代码说明:

应用串口调试工具作为外部输入与输出的接口,实现多位数的相加。即通过UART串口分别输入需要相加的多位数A与B,最后把A和B两个多位数相加的过程和结果,回显给用户。具体实现方法:应用UART中断。

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

发表评论

0 个回复

  • If you are running this example, will the PC emulation window, the first 1,2,3
    这个例子如果运行,将在仿真的PC窗口中的第1,2,3行显示一些信息后,在随机位置显示 1 ~ 5 .由于keil c51默认不支持重入函数,它的重入函数使用仿真的重入栈而不使用系统栈,而Small RTOS 51没有进行重入栈管理,所以在TaskA~TaskE虽然及其相似,但不能合并. (2)编译时会有5个警告,其中一个是因为没有使用一个系统函数OSSendSignal引起,它可以忽略.另4个是禁止任务间变量覆盖分析引起,必须忽略.感谢网友John X. Liu,在这个例子中我使用了他编写的仿真(dllPc51Emu.dll),这个dll原来是为他移植的Ucos-ii for keil c51的例子编写.-If you are running this example, will the PC emulation window, the first 1,2,3-line display some information, at random locations show " 1 " ~ " 5" . Keil c51 as the default does not support the re-entry function, which re- into the function of the weight stack instead of using the simulation using the system stack, while the Small RTOS 51 not been re-stack management, and so TaskA ~ TaskE though its similar, but not combined. (2) compile-time there will be five warnings, One of them is because there is no cause to use a system function OSSendSignal, it can be ignored. The other four are prohibited between the variables covered analyze the task to be ignored. thank User
    2022-06-19 05:01:57下载
    积分:1
  • 第1 章 体系结构 第1 问: Q:请问在初始化CPU 堆栈的时候一开始在执行mov r0, LR 这句指令时处理器是什么模 A:复位后的模,即...
    第1 章 体系结构 第1 问: Q:请问在初始化CPU 堆栈的时候一开始在执行mov r0, LR 这句指令时处理器是什么模式 A:复位后的模式,即管理模式.-Chapter 1, paragraph 1 architecture question: Q: Will the CPU to initialize the stack at a time when one start in the implementation of mov r0, LR this command mode when the processor is A: the post-reset mode, that is, management.
    2023-08-02 19:35:03下载
    积分:1
  • 来宝160X128全彩OLED(1.8INCH)操作源码
    来宝160X128全彩OLED(1.8INCH)操作源码-Laibao 160x128 full-color OLED (1.8INCH) operating source
    2022-04-12 11:14:06下载
    积分:1
  • tm1668程序
    显示模块的程序,有数码管显示功能和按键功能,灯的功能,能方便的大家学习数码管。当数码管特定的段加上电压后,这些特定的段就会发亮,以形成我们眼睛看到的字样了。如:显示一个“2”字,那么应当是a亮b亮g亮e亮d亮f不亮c不亮dp不亮。LED数码管有一般亮和超亮等不同之分,也有0.5寸、1寸等不同的尺寸。小尺寸数码管的显示笔画常用一个发光二极管组成,而大尺寸的数码管由二个或多个发光二极管组成,一般情况下,单个发光二极管的管压降为1.8V左右,电流不超过30mA。发光二极管的阳极连接到一起连接到电源正极的称为共阳数码管,发光二极管的阴极连接到一起连接到电源负极的称为共阴数码管。常用LED数码管显示的数字和字符是0、1、2、3、4、5、6、7、8、9、A、B、C、D、E、F。
    2022-03-21 00:41:59下载
    积分:1
  • microcontroller for ARM的JTAG。
    Jtag for arm microcontroller.
    2023-08-27 20:30:05下载
    积分:1
  • 很好powerpc源码,从事汽车ecu开发的值得一看,本部分为etpu部分源码...
    很好powerpc源码,从事汽车ecu开发的值得一看,本部分为etpu部分源码-A good source of powerpc
    2023-04-20 23:40:03下载
    积分:1
  • CE下基于PXA255的蓝牙驱动,编译调试已通过
    CE下基于PXA255的蓝牙驱动,编译调试已通过-CE-based PXA255 Bluetooth driver, the compiler debugging has passed
    2022-05-14 12:37:20下载
    积分:1
  • lpc2210串口发送程序
    lpc2210串口发送程序-Serial Port Sending Program of lpc2210
    2022-04-07 11:48:13下载
    积分:1
  • 2410在广告上转换实验,从学校实验室下
    2410上的ad转换实验,从学校实验室下的-2410 on the ad conversion experiments, from the school laboratory under
    2022-08-06 08:09:36下载
    积分:1
  • ARM体系结构与应用系统设计示例
    ARM体系结构与应用系统设计示例-ARM system structure and application system design demonstration
    2022-01-28 00:44:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载