如何在汇编程序中创建6-314和6-194之间的随机数?
我需要在图形模式下以组装方式在屏幕上创建一个随机点(我使用TASM和DOSBOX 8086,我不知道它是否重要。)我有一个功能可以使用X和Y线来完成。 t知道如何创建随机数。有人可以发送可以这样做的功能吗?我几乎不懂集会中的任何东西,必须制作一个简单的游戏,直到这个星期六。同样,随机数必须以单词格式而不是咬合。
I need to create a random point on the screen in assembly in graphic mode (I use tasm and dosbox 8086, I don't know if it matters.) I have a function that will do it with x and y cords but I don't know how to create the random numbers. Can someone please send a function that would do that? I barely understand anything in assembly and have to make a simple game until this Saturday. Also the random number has to in word format, not bite.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论