ASCII Multiplication

3 years ago
Microprocessors

Assume cs: code, ds: data

data segment

asc1 db 06H

asc2 db 02H

res dw 00h

data ends

code segment

start: mov ax, data

mov ds, ax

xor ax,ax

mov al,asc1

mov bl,asc2

mul bl

aam

or ax,3030h

mov res,ax int 3H

code ends

end start


INPUT: ASC1: 06H ASC2: 02H

OUTPUT:

            RES: 3132H

0
Rusma Khadka
Sep 17, 2022
More related questions

Questions Bank

View all Questions