5. Perform the following operation in Assembly language. i*29; i = Show transcribed image text 5. Perform the following operation in Assembly language. i*29; i =
Solution
Assembly language:
.data
i db 10;set i with some value
.code
main proc
mov ax,i ; LOAD i VALUE IN AX ==> AX=i
mov bx,29; LOAD CONSTANT VALUE IN BX ==>BX=29
mulbx ; AX= AX * BX ==>i* 29
mov i,ax ; RESULT IS STORED IN i
main endp
endmain