文件名称:shiyanyi
介绍说明--下载内容均来自于网络,请自行研究使用
、用 DEBUG的基本命令,单步执行P113例4-3的程序,检查每条指令执行后目的地址及有关寄存器的内容。
2、用DEBUG的A命令,键入如下程序段:
MOV BX,8275H
MOV AX,3412H ;双精度数34128275H——AX、BX
ADD BX,92A5H
ADC AX,2F65H ;加上双精度数2F6592A5H
ADD BX,0EAE6H
ADC AX,9C88H ;加上双精度数9C88EAE6H
然后用T命令单步执行,查看每条指令执行后有关寄存器的内容及标志位的变化。
注意:①用A命令时键入的数均为十六进制,故其后的“H”不要键入.
②用T命令不适合执行“INT”指令。
3、学会使用DEBUG中的命令:D、G、E、R、T、A、U,为后面调试运行汇编源程序打下基础。-The basic commands of the DEBUG, the single-step procedures of P113 cases 4-3, check the destination address and the contents of the register after each instruction execution. DEBUG A command, type the following program segment: MOV BX, 8275H MOV AX, 3412H double precision number 34128275H- AX, the BX the ADD the BX 92A5H the ADC AX, 2F65H coupled with double-precision number 2F6592A5H ADD the BX 0EAE6H ADC AX, 9C88H coupled with double-precision number 9C88EAE6H then use the T command steps to view the register content and the change of flag in each instruction is executed. Note: ① the A command, type the number are in hexadecimal, so the subsequent " H" Do not type. ② T command is not suitable for the implementation of the " INT" command. 3, learn how to use the DEBUG command: D, G, E, R, T, A, U,, for later debugging and lay the foundation for running the assembler source.
2、用DEBUG的A命令,键入如下程序段:
MOV BX,8275H
MOV AX,3412H ;双精度数34128275H——AX、BX
ADD BX,92A5H
ADC AX,2F65H ;加上双精度数2F6592A5H
ADD BX,0EAE6H
ADC AX,9C88H ;加上双精度数9C88EAE6H
然后用T命令单步执行,查看每条指令执行后有关寄存器的内容及标志位的变化。
注意:①用A命令时键入的数均为十六进制,故其后的“H”不要键入.
②用T命令不适合执行“INT”指令。
3、学会使用DEBUG中的命令:D、G、E、R、T、A、U,为后面调试运行汇编源程序打下基础。-The basic commands of the DEBUG, the single-step procedures of P113 cases 4-3, check the destination address and the contents of the register after each instruction execution. DEBUG A command, type the following program segment: MOV BX, 8275H MOV AX, 3412H double precision number 34128275H- AX, the BX the ADD the BX 92A5H the ADC AX, 2F65H coupled with double-precision number 2F6592A5H ADD the BX 0EAE6H ADC AX, 9C88H coupled with double-precision number 9C88EAE6H then use the T command steps to view the register content and the change of flag in each instruction is executed. Note: ① the A command, type the number are in hexadecimal, so the subsequent " H" Do not type. ② T command is not suitable for the implementation of the " INT" command. 3, learn how to use the DEBUG command: D, G, E, R, T, A, U,, for later debugging and lay the foundation for running the assembler source.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验一\YI1.asm
......\YI2.asm
......\YI2.EXE
......\YI3.asm
......\YI4.asm
实验一
......\YI2.asm
......\YI2.EXE
......\YI3.asm
......\YI4.asm
实验一