Logical NOT operation

3 years ago
Microprocessors

Assume cs: code, ds: data

data segment

op1 dw 00h

res dw 00h

data ends

code segment

start: mov ax, data

mov ds, ax

mov ax,op1

not ax

mov res, ax

int 3h

code ends

end start

INPUT: OP1:04h

OUTPUT:

RES: FBh

0
Rusma Khadka
Sep 17, 2022
More related questions

Questions Bank

View all Questions