Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   Multiplying 2 8-bit number (http://www.go4expert.com/forums/multiplying-2-8-bit-number-t28994/)

zincz 2Sep2012 07:42

Multiplying 2 8-bit number
 
1. Can someone help me with a sample program how I can multiply two 8-bit numbers in Assembly Language Programming (that can work in 8086 processor?
2. And also the same for Division of two 8-bit numbers in ALP, please? :confused:
Will be very grateful to see a reply to the above questions. thanks.

bparker1084 28Dec2012 10:56

Re: Multiplying 2 8-bit number
 
Multiplication of two 8-bit numbers :
Mov ax,[2020h]
mov bx,[2022h]
mul bl
mov [2024h],ax
hlt


All times are GMT +5.5. The time now is 01:49.