8086 program Write an ALP to perform 16-bit and 32-bit multiplication.

Code :-

16-bit multiplication

org 100h         

MOV AX,1234H

MOV BX,1111H 

MUL BX

MOV [2000H],AX

MOV AX ,DX

MOV [2002H],AX

ret

Output :-


32-bit multiplication

org 100h          

MOV AX,1234H

MOV BX,1111H

MOV CX,1234H

MOV DX,1111H 

MUL BX

MUL DX

ret

Output :-



Comments

Popular Posts

What is Tinkercad ? How to use Tinkercad ?

Connect switch to Arduino. If switch is on than print ”ON” else print “OFF” on serial monitor.

Set the time using four switch and display the clock on LCD using arduino ** SW1 : when press, increment 1 digit ** SW2 : when press, decrement 1 digit ** SW3 : when press, display set time and start the clock ** SW4 : when press, reset the clock