Files
Operating-System/Experiment/asm-exp/实验二/加强性实验1_乘法运算.asm
2026-06-25 00:09:09 +08:00

17 lines
434 B
NASM
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
; 实验二加强性实验一8位×8位乘法运算
; 程序功能实现8位×8位乘法
; 被乘数12H乘数34H结果存入16位变量
CODE SEGMENT
ASSUME CS:CODE
ORG 100H
START:
MOV AL, 12H ; 被乘数12H存入AL
MOV BL, 34H ; 乘数34H存入BL
MUL BL ; AX = AL * BL = 12H * 34H = 0D68H
; 结果AX=0D68H16位乘积
INT 20
CODE ENDS
END START