You are on page 1of 1

Fall 2019-20

Digital Assignment –I
C2 Slot
CSE 2006- Microprocessor and Interfacing

A) Convert the following hexadecimal numbers into binary-coded


hexadecimal code (BCH):
(a) 32
(b) DA
(c) 43.AD
(d) BB32
(e) 432.3
B) Whatis the difference between the IDIV and DIV instructions with
an example.
C) Perform an AND instruction that will:
(a) AND CX with AX and save the result in CX
(b) AND 0EAH with DH
(c) AND 1122H with AX
(d) AND the data stored in four words before the location addressed
by SI with CX and save the result in CX
(e) AND AL with memory location AGAIN and save the result at
location AGAIN
D) Suppose that DS = 1000H, SS = 2000H, BP = 1000H, KEY =
0250H and DI = 0100H . Determine the memory address accessed by
each of the following instructions.
(a) MOV AL,[BP+DI]
(b) MOV CX,[DI]
(c) MOV CX, KEY[BP+DI]
(d) MOV CH, [DS+DI]

You might also like