- 博客(6)
- 资源 (22)
- 收藏
- 关注
原创 汇编语言(王爽) 课程设计1
<br />这边是要将实验7的公司的数据显示在dos窗口下,这边只给出代码<br />DATAS SEGMENT ;此处输入数据段代码 db '1975','1976','1977','1978','1979','1980','1981','1982','1983','1984','1985','1986','1987','1988','1989','1990','1991','1992','1993','1994','1995' ;以上是21年的21个字符串 d
2011-01-27 09:34:00 942
原创 可变存储分配和回收
<br />实验说明:<br />求采用某种分配算法(首次适应算法,循环首次适应算法,最佳适应算法,最差使用算法)实现可变存储算法的模拟操作,并实现回收空间的操作,这里要求使用链表的形式实现,建议采用最佳适应算法,首次适应算法<br />提示:这里可以使用两个链表,一个链表中存储已经分配的内存区,另一个链表中存储未分配的存储区,回收时采用模拟回收的方法,即输入一个内存区号,在已分配的链表中找到这个内存块,删除,并合并到另一个未分配的链表中,这里要考虑回收的各种情况,即单独的分区,可以和上面空闲区合并的分区,
2011-01-21 18:34:00 646
原创 王爽汇编语言 实验9
<br />在dos屏幕中输出 welcome to masm,welcome是绿色字体,to是绿底红字,masm是白底蓝字,代码示例:<br />DATAS SEGMENT db "welcome to masm"DATAS ENDSCODES SEGMENT ASSUME CS:CODES,DS:DATASSTART: MOV AX,DATAS MOV DS,AX mov ax,0b800h mov es,ax m
2011-01-20 19:42:00 2166
原创 关于debug t1.exe出现的问题
<br />由汇编程序<br />assume cs:codesgcodesg segment mov ax,2000H mov ss,ax mov sp,0H add sp,4H pop ax pop bx push ax push bx pop ax pop bx mov ax,4c00H
2011-01-11 00:44:00 979
原创 关于汇编栈问题
在《汇编语言学习笔记(4)》中出现的将数据2266H传入到10000中代码段mov ax,1000mov ss,axmov sp,2mov ax,2266push ax出现的问题,我的机子没办法实现数据的传送,或者说是出现了错误,这边的猜测是可能因为这边的栈的设置应该是:栈的容量的设置本身是要是一个最小段,或者是最小段的倍数,这边又进行了测试:mov ax,1000mov ss,axmov sp,0010mov ax,2266push ax这样,没有出现错误,数据2266H插
2011-01-10 11:19:00 1320 1
原创 汇编语言学习笔记(4)
pop,push 寄存器,段寄存器,内存单元内存段地址单元要放到段寄存器中,要间接地:<br /> mov ax,1234hmov ds,axsub ax,ax 的机器码是两个字节,mov ax,0的机器码是三个字节,所以如果是要ax清零的话,可以使用sub ax,ax。要在10000出写入字型数据2266H,可以使用下面的代码:<br />mov ax,1000mov ds,axmov ax,2266mov [0],ax<br />也可以使用下面的代码段完成:<br />mov ax,
2011-01-10 10:18:00 438
C语言Socket简单编程指南.rar
2017-10-24
An Illustrated Introduction to Topology and Homotopy, Kalajdzievski, 2015.pdf
2017-10-23
整合php和xml电子书.chm
2010-11-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人