-
一个简单指令的cpu设计。
可以实现4个指令的的运算。
一个简单指令的cpu设计。
可以实现4个指令的的运算。-a simple instructions cpu design. 4 can be achieved directive arithmetic.
- 2023-07-14 04:10:03下载
- 积分:1
-
u_reg H”。
u_reg.h"
void Delay_MS(unsigned int ms)
void main()
{
asm(" STM #0000h,CLKMD ")
while(*CLKMD & 0x01 )
asm(" STM #40C7h,CLKMD ") //设置CPU运行频率=100M
/* 40C7h:5*clkin =100M
30c7h:4*clkin =80M
20c7h:3*clkin =60M
10C7h:2*clkin =40M
*/
asm(" stm #4240h, SWWSR ")
//2 wait except for on-chip program 1
asm(" stm #00a0h, PMST ") //MP/MC = 0, IPTR = 001,ovly=0
asm(" stm #0802h, BSCR ")
asm(" STM #0h,IMR ")
while(1)
{
Delay_MS(500)
asm(" RSBX XF ")
Delay_MS(500)
asm(" SSBX XF ")
}
-sdqwd
- 2022-02-04 22:56:44下载
- 积分:1
-
Assembly AVR to practice I/O Programming
Assembly AVR to practice I/O Programming
- 2022-01-31 00:08:10下载
- 积分:1
-
The source provides a number of MSN contact operation, including import and expo...
该源码提供对MSN的联系人的一些操作,包括导入导出联系人等-The source provides a number of MSN contact operation, including import and export contact, etc.
- 2022-03-11 09:09:57下载
- 积分:1
-
现成的摇奖程序。
修改一下所需数量即可使用。
现成的摇奖程序。
修改一下所需数量即可使用。-摇奖off-the-shelf program. Changed a bit to use the required quantity.
- 2022-04-27 19:21:11下载
- 积分:1
-
the sample best file for C or C++
the sample best file for C or C-the sample best file for C or C++
- 2022-08-05 12:55:29下载
- 积分:1
-
在Windows窗口上滚动字幕
在Windows窗口上滚动字幕-window on the Windows subtitles rolling
- 2023-05-20 14:40:04下载
- 积分:1
-
lcd液晶12232F的串口C51程序
功能:只要用三根线就能够实现lcd的所有显示功能...
lcd液晶12232F的串口C51程序
功能:只要用三根线就能够实现lcd的所有显示功能-LCD LCD 12232F C51 Serial procedures functions : Just three lines can be realized LCD display all
- 2022-03-21 06:47:43下载
- 积分:1
-
(系统类)小闹钟 能够十分准确提醒你
(系统类)小闹钟 能够十分准确提醒你-(System)A little Alarm Clock, which can remind you of the time accurately.
- 2023-08-07 19:05:03下载
- 积分:1
-
用于更改系统桌面背景,虽然微软本身有一个动态库提供了这个功能,但是这个库本身系统不带。因此用Delphi编写了这个程序,用于设置自动更换桌面背景...
用于更改系统桌面背景,虽然微软本身有一个动态库提供了这个功能,但是这个库本身系统不带。因此用Delphi编写了这个程序,用于设置自动更换桌面背景-Change the system for the desktop background, while Microsoft itself has a dynamic library provides this functionality, but the library system does not take itself. Delphi therefore prepared to use this procedure for the automatic replacement of desktop background
- 2022-02-14 04:01:07下载
- 积分:1