登录
首页 » 汇编语言 » 建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王...

建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王...

于 2022-04-02 发布 文件大小:660.00 B
0 127
下载积分: 2 下载次数: 1

代码说明:

建立循环链表,实现选猴王的程序:输入N只猴子,从第一只猴子开始报数(M),数到m的那只猴子就推出,如此循环,剩下的最后一直猴子就是猴王-Circulation list set up, implementation procedures for the election of the King: Enter the N monkeys, monkeys from the first start off (M), only a few of the m Monkey on the introduction of such a cycle has been the last remaining Monkey is a monkey Wang! !

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

发表评论

0 个回复

  • 两个十进制数相乘的实验
    一.        实验目的 1.掌握乘法和循环指令的用法。 2.熟悉在PC机上建立、汇编、连接、调试和运行,8088/8086汇编语言程序的过程。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-08-25 13:45:03下载
    积分:1
  • 程序求1个数的四次方,8086测试通过。
    汇编程序求1个数的四次方,8086测试通过。-compilation procedures for a number of the four sides, the 8086 test.
    2022-10-24 03:25:03下载
    积分:1
  • C 常用算法程序集 徐士良 清华大学出版社 1994.1...
    C 常用算法程序集 徐士良 编 清华大学出版社 1994.1-C commonly used algorithm for assembly徐士良made Tsinghua University Press 1994.1
    2022-02-16 04:34:54下载
    积分:1
  • stepper_motor一个旋转的时钟
    stepper_motor一个旋转的时钟-stepper_motor a rotating clock
    2022-07-14 04:18:29下载
    积分:1
  • windows sizer 源代码
    windows sizer 汇编源代码-windows Sizer compiled source code
    2022-01-25 15:28:24下载
    积分:1
  • Stepper Motor Controlled by pic12F629
    我发现在我的盒子里有电子设备单极步进电机-PM35L-048-HP04。这是我第一次接触步进电机。
    2022-01-26 01:07:56下载
    积分:1
  • 采用电流正弦波细分原理,研制出了一种三相混合式步进电机驱动器,实现了三相混合式步进电机的相电流闭环控制和细分驱动。具有多种细分和相电流设置功能,能够驱动多种三相...
    采用电流正弦波细分原理,研制出了一种三相混合式步进电机驱动器,实现了三相混合式步进电机的相电流闭环控制和细分驱动。具有多种细分和相电流设置功能,能够驱动多种三相混合式步进电机,其最小步距角为0.036°。-Breakdown of the use of sinusoidal current principle, developed a three-phase hybrid stepping motor driver, to achieve a three-phase hybrid stepping motor phase current breakdown of the closed-loop control and drive. With multiple segments and phase current setting function, able to drive a variety of three-phase hybrid stepping motor, the smallest step angle is 0.036 °.
    2022-07-11 18:48:51下载
    积分:1
  • First, the use of a keyboard display interface chip receive keys keys 8279, and...
    一、 使用键盘显示接口芯片8279接收按键键值,并在七段数码管上显示出来,通过判断键值进入相应音乐播放处理程序。在音乐播放程序中,使用定时器/计数器8253的计数器2,使其工作在方式¬ ¬ 3―方波发生器,通过查表依次取出乐曲频率值送入计数器作为计数初值,经out2输出方波,驱动扬声器发出不同频率的声音,在每个音阶之间加入相应的延迟时间,即实现了音乐的播放。-First, the use of a keyboard display interface chip receive keys keys 8279, and Seven-Segment LED display, through to determine the corresponding music player keys to enter the treatment program. Procedures in the music player, use the timer/counter 2 counter 8253 to work in the way ? ? 3- square-wave generator, followed by out music through the look-up table values into the counter as a frequency count of the initial value, the output side out2 waves, driven loudspeakers of different frequency sound, in between each scale by adding the appropriate delay time, namely, the realization of the music player.
    2023-03-17 05:55:03下载
    积分:1
  • 生成BCD码。 Name: BIN3toBCD4 Func:2字节二进制整数
    生成BCD码。 Name: BIN3toBCD4 Func:2字节二进制整数--->>BCD码四字节转换(Comped BCD) Input: 3进制数人低字节到高字节存放在内部RAM50H,51H,52h单元中 Output: BCD码人低位到高位分别存放在内部RAM53H,54H,55H,56H单元中 USE: R7-R0, 56H-50H-generation BCD. Name : BIN3toBCD4 Func : 2-byte binary integers-- gt; Gt; BCD four byte conversion (Comped BCD) Input : 3 band several low byte to high-byte stored in the internal RAM50H, 51H, chick modules Output : BCD who were low to high deposit on internal RAM53H, 54H, 55H, Social modules USE : R7-R0, Social-50H
    2023-04-19 05:10:02下载
    积分:1
  • 哈弗曼码的实现,本人亲测完美运行。 码内容:假设用于通信的电文仅由8个字母组成,字母在电文中出现的频率分别为7,19,2,6,32,3,21,10。试为...
    哈弗曼编码的实现,本人亲测完美运行。 编码内容:假设用于通信的电文仅由8个字母组成,字母在电文中出现的频率分别为7,19,2,6,32,3,21,10。试为这8个字母设计哈夫曼编码。 要求:这8个字母任意,输出各字母的编码值。 -huffman Tree
    2022-05-10 19:04:03下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载