Professional Documents
Culture Documents
Assignment2 2
Assignment2 2
Question 1: Show the memory after defining the following variables, Fill table (1).
ORG 100H
X1 00
X1 DB ? X2
X2 DB 'ABC'
X3 DB 32 X3
X4
X4 DB 20H X5
X6 01
X5 DB 01011001B
X6 DB 01, 'JAN'
X7 DB '32654' X7 33
X8 DB 3 DUP(0)
Y1 DW 0FFF0H
Y2 DW 01011001B X8
Y3 DW ‘X7’
Y1 F0
Y4 DW 3, 4, 17
Y2
Y5 DW 2 DUP(0)
Y6 DW 05 Y3
HLT Y4
Y5
Y6
Table 1
Question 2 :
A-Given the Initialization for the internal registers of the 80x86 as follows:
(AX) = 0000H
(BX) = 0001H
(CX) = 0002H
(DX) = 0003H
(SI) = 0010H
(DI) = 0020H
(BP) = 0030H
(DS) = 0B60H
(a)
(b)
(c)
(d)
(e)
(f)
(g) Based Indexed A. M. B615H
Table 2