0% found this document useful (0 votes)
36 views2 pages

Arid No: 19-Arid-5210

The document contains assembly code for multiplying two numbers, 13 and 4, using bitwise operations. It initializes the multiplicand and multiplier, then processes the multiplication through a loop that checks each bit of the multiplier. The program concludes by terminating with an interrupt call.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views2 pages

Arid No: 19-Arid-5210

The document contains assembly code for multiplying two numbers, 13 and 4, using bitwise operations. It initializes the multiplicand and multiplier, then processes the multiplication through a loop that checks each bit of the multiplier. The program concludes by terminating with an interrupt call.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Arid No: 19-Arid-5210

[org 0x100]

jmp start

multiplicand: db 13

multiplier: db 4

result: db 0

start: mov cl, 4

mov bl,[multiplicand]

mov dl,[multiplier]

checkbit: shr dl, 1

jnc skip

add [result],bl

skip: shl bl, 1

dec cl

jnz checkbit

mov ax, 0x4c00

int 0x21

You might also like