PAC`KED TO UNPACKED

1 year ago
Microprocessors

assume cs: code, ds: data

data segment

ip1 db 56h

res dw 00h

data ends code segment

start: mov ax, data

mov ds, ax

xor ax, ax

mov al,ip1

mov dl, al

and al,0f0h

mov cl,4

ror al, cl

mov bh, al

and dl,0fh

mov bl, dl mov res,bl

int 03h

code ends

end start

INPUT: OP1:56h

OUTPUT:

RES:0506h

0
Rusma Khadka
Sep 17, 2022
More related questions

Questions Bank

View all Questions