RCR
2 years ago
Microprocessors
Assume cs: code, ds: data
data segment
op1 db 0h
cnt db 00h
res db 00h
data ends
code segment
start: mov ax,
data mov ds,
ax sub ax,
ax mov al,op1 mov cl, cnt rcr al,
cl mov res, al int 3h
code ends end start
INPUT:
OP1:25h cnt:03h
OUTPUT: RES:44h
Rusma Khadka
Sep 17, 2022