搜索资源列表
多位整数的加减乘除运算
- 建立对多个16位整数串接在一起构成的大容量整数进行加减乘除运算的子程序库。 输入:键盘输入三个参数 :位数(以16位整数为一‘位’),两个参与运算的多位数(16×位数)分别存放在数据区 输出:运算结果(16×位数)存放到数据区,DS:BX指向结果所在地址,并将结果显示在屏幕上
typing
- 打字游戏 制作这款打字小游戏是为了对汇编语言程序设计有一个更深刻的了解,将所学的知识应用于实践,提高自己的编程水平。鉴于用汇编语言编程的复杂性,为了使游戏能够实现自己预先的构想,所以自创了这款相对比较简单的打字游戏。在游戏制作工作中会应用到80x86的指令系统和寻址方式,输入输出程序设计等,涉及到的知识领域还是很全面的,所以在通过完成这次编程,相信能得到不小的提高。 1.2游戏介绍 该游戏是一个简单的打字游戏,双击图标后将进入主菜单,再按enter键会进入到选择速度的菜单,这里还有
Program1
- 能够完成正则文法所描述的Pascal语言子集单词符号的词法分析,该语言大小写不敏感,能够识别的字符以二元式的形式输出到屏幕上和中间文件里。
chengji
- 统计学生成绩,并把输入的成绩从大到小排列,输出到屏幕显示-To enter the smallest of the results with
2
- 从键盘上获得若干个十进制数,求他们的平均值,并输出到屏幕上 -From a number of keyboard access to a decimal number, and their average, and output to screen
binary_addition
- 本实验要求计算X+Y=Z,将结果Z输出到屏幕,其中X=001565A0H,Y=0021B79EH-In this study, the requirements in X+ Y = Z, Z output the results to the screen, where X = 001565A0H, Y = 0021B79EH
sort_str
- 字符串排序的汇编程序。程序运行后从键盘输入多个字符串,各字符串回车结束,空字符串结束输入。将输入的字符串排序后输出到屏幕-Sort string assembler. After running over a string from the keyboard, enter the end of the string, an empty string end of the input. After sorting the input string output to the screen
Registeruse
- 1 计算A*B+C-D,把结果输出到屏幕。 2把寄存器al中值,以二进制的形式输出到屏幕,并统计数码1的个数,输出到屏幕。 例如 al=0A6H 屏幕显示格式如下: 10100110B 4 -1 calculate A* B+ CD, the output to the screen. Two in the al register value to form a binary output to the screen, and a number of statistical
BCDapplication
- 1、 把非压缩的BCD码3532H转变为压缩的BCD码52H,并输出到屏幕。 2、使用BCD码校正指令,实现两个4位十进制数的加法4678+2556,并把结果输出到屏幕。 -1, the non-compressed into a BCD code 3532H compressed BCD code 52H, and output to the screen. 2, the BCD code of correction commands to achieve two four decim
average
- 使用汇编语言,实现20个数的平均数运算,并输出到屏幕。-The use of assembly language, the realization of the 20average number calculation, and output to the screen
13
- 输入一个字符串,扫描该字符串,按数字、字母和特殊字符3类,把字符分类输出到屏幕,并计算其中数字字符的和,把求得的和以十进制数的形式输出到屏幕。-Enter a string, the string scanning, numbers, letters and special characters are three types of character output to the screen, and calculate one of the numeric characters, to ob
123
- 输入一个字符串,扫描该字符串,按数字、字母和特殊字符3类,把字符分类输出到屏幕,并计算其中数字字符的和,把求得的和以十进制数的形式输出到屏幕。-Enter a string, the string scanning, numbers, letters and special characters are three types of character output to the screen, and calculate one of the numeric characters, to ob
file
- 此程序将.txt文件读取,让后输出到屏幕-This program. Txt file to read the output to the screen, so that after
5
- 用DOS的10号功能调用输入一个字符串,并用DOS的9号功能调用将这个字符串输出到屏幕上显示-Enter a string, called DOS 10 DOS the 9th call this string output to the screen display
FIFTH
- 排序算法对已有数组进行排序,且输出到dos屏幕上-Sorting algorithm to sort an array of existing, and the output to dos screen
ASM_IO
- 汇编语言下的基本输入输出示例代码。从键盘输入两个16位无符号整数(范围0到2的16次方 - 1),计算结果后输出到屏幕。-Assembly language under the Basic Input Output sample code. Input from the keyboard two 16-bit unsigned integer (range 0 to 2 ^ 16- 1), the calculation results output to the screen.
4
- 输入4位以内16进制数转换为10进制输出到屏幕上-Enter the hexadecimal number is converted to octal output to the assembler program on a small screen
te
- 在程序中常常要暂时的保存图形显示方式屏幕上的内容,然后把自己的信息输出到屏幕上,结束后再恢复原来的屏幕内容-In the program often have to temporarily save the graphic display on the way to the screen, and then export its information to the screen, and then restore the original ending screen content
OS3
- 参考《Orange’s》,在之前搭建的 nasm + bochs 实验平台上完成一个接受键盘输入,回显到屏幕上的程序,具体要求如下: • 从屏幕左上角开始,显示键盘输入的字符。可以输入并显示 a-z 和 0-9 字 符。 • 支持大小写,包括 Shift 组合键以及大写锁定两种方式。 • 支持回车键换行。 • 支持删除退格,退格如果退回上一行,必须退回该行编辑的最后一个字符 处。 • 支持空格键和 Tab 键,其中对于 Tab
操作系统实验2
- 1)管道通信 1.父进程创建管道和两个子进程p1和p2 2.子进程p1打开给定文件(如果没有,则创建文件),并向文件中写数据,写完关闭文件,然后向管道写入一条消息“ok",目的是通知进程p2可以读取文件内容了。 3.子进程p2通过管道读取消息,如果消息是“ok”,则打开文件,读取文件内容,并将其输出到屏幕上,关闭文件. (2)消息队列 1.父进程创建消息队列和两个子进程p1和p2 2.子进程p1打开给定文件(如果没有,则创建文件),并向文件中写数据,写完关闭文件,然后向消息