MASM --- chapter7 binary multiplication
- Include Irvine32.inc
- .data
- .code
- main proc
- mov eax, 123
- mov ebx, eax
- shl eax, 5 ; multiply by 2^5
- shl ebx, 2 ; multiply by 2^2
- add eax, ebx
- call writedec
- call crlf
- exit
- main endp
- end main
eax * 36 = eax * ( 32 + 4 )
留言
張貼留言