-
Written in assembly code using random number generation algorithm: program mainl...
用汇编代码写的随机数生成算法:
程序主要由八部分组成。主程序main 从键盘输入的10进制数的子程序redigital;产生随机数,并输出随机性评估结果的子程序random;评估一个随机数随机性的子程序evaluAnum;用蒙特卡罗法评估随机性的calpi将数以十六进制输出的子程序printtohex;将数用十进制打印出来的子程序printaxd;输出换行回车的子程序printrn。-Written in assembly code using random number generation algorithm: program mainly by the eight parts. The main program main from the keyboard input 10 the number of decimal subroutine redigital generate random numbers, and output the results of the assessment of the subroutine random random assessment of a random number of random subroutine evaluAnum with the Monte Carlo Method to Evaluate the random of calpi will be hundreds of subroutines hexadecimal output printtohex will be hundreds of subroutines with the decimal print out printaxd the subroutine output carriage return line feed printrn.
- 2022-08-13 21:17:06下载
- 积分:1
-
1,消除按键的抖动问题 因为按键在闭合或断开过程中出现一段抖动期,主要由于按键的不稳定性引起的,这时会呈现一串页脉冲,时间的长短和开关的机械特性有关。一般在5m...
1,消除按键的抖动问题 因为按键在闭合或断开过程中出现一段抖动期,主要由于按键的不稳定性引起的,这时会呈现一串页脉冲,时间的长短和开关的机械特性有关。一般在5ms~10ms之间。为保证CPU对键的一次闭合作一次处理,必须去抖动。在键的稳定闭合或断开时读键的状态。 2,据EICE51原理图编写并调试一个键输入子程序,其功能为判断键盘上有无键输入,若有键入,作去抖动处理后,计算输入键的键号送累加器A。-eliminate jitter button issues as keys or disconnect the closure process for some jitter period, mainly due to the instability of the keys to the cause, then it will result in a bunch of pages pulse, the duration and switches on the mechanical properties. General ~ 10ms between 5ms. To ensure that the CPU in a pair of keys a close cooperation, must go jitter. The key to the stability closed or disconnected when reading the key state. 2, EICE51 schematics prepared and debug a key input subroutine, and its function of determining whether keys on the keyboard input, if typing for to handle jitter, the admission of Bond, Bond sent accumulator A.
- 2022-05-06 22:58:19下载
- 积分:1
-
液晶显示器LCM320240驱动程序,和触摸驱动程序。
液晶显示器LCM320240驱动程序,和触摸驱动程序。-LCM320240 liquid crystal display drivers, and touch driver.
- 2022-07-22 02:30:46下载
- 积分:1
-
Vehicle race
赛车- Vehicle race
- 2023-03-23 10:35:03下载
- 积分:1
-
再汇编开发环境下利用简单的按键扫描方式实现音响系统简单的频道转换。...
再汇编开发环境下利用简单的按键扫描方式实现音响系统简单的频道转换。-Re-compilation development environment with a simple keystroke scan mode to achieve a simple sound system channel switching.
- 2022-07-12 07:19:09下载
- 积分:1
-
led 的显示 num lock 键,scrlock capslock
001:scr 锁
010:num 锁
100:caps 锁
- 2022-04-26 10:42:45下载
- 积分:1
-
个人电脑组装材料
PC汇编资料大全-PC assembly material greatly entire
- 2022-03-14 15:07:08下载
- 积分:1
-
刮大风歌但范甘迪给对方 但范甘迪分给对方国的国的风格
刮大风歌但范甘迪给对方 但范甘迪分给对方国的国的风格-the wind is strong songs to each other but Van Gundy but Van Gundy distributed to the other side of the United States for the style
- 2022-04-02 09:54:34下载
- 积分:1
-
用汇编语言编写的简短小巧的记事本程序
用汇编语言编写的简短小巧的记事本程序-assembler language short compact notebook procedures
- 2023-03-26 16:25:04下载
- 积分:1
-
动感画OPEN+狗爪的51程序 动感画OPEN+狗爪的51程序
动感画OPEN+狗爪的51程序 动感画OPEN+狗爪的51程序-Flash Lighting Panel OPEN+ dog claws 51 program Innervational Picture OPEN+ dog claws 51 program Innervational Picture OPEN+ dog claws 51 program
- 2023-01-26 22:30:03下载
- 积分:1