include io32.inc
.data
wvar word 34000
.code
start:
xor eax,eax
mov ax,wvar
shl eax,1
mov ebx,eax
shl eax,2
add eax,ebx
call dispuid
call dispcrlf
end start
汇编语言 移位指令实现乘法程序
最新推荐文章于 2024-05-09 11:20:23 发布
include io32.inc
.data
wvar word 34000
.code
start:
xor eax,eax
mov ax,wvar
shl eax,1
mov ebx,eax
shl eax,2
add eax,ebx
call dispuid
call dispcrlf
end start