Vous êtes sur la page 1sur 4

Chapter 1

21.What is the acronym CISC?


CISC is short of Complex Instruction Computer.

22.A binary bit stores a(n)(


)or a(n)(
).
23.A computer K is equal to (thousand) bytes.
24.A computer M is equal to (1024) K bytes.
25.A computer G is equal to (1024) M bytes.
61.Define the purpose of the following directives:
(a) DB
(b) DQ
(c) DW
(d) DD
62.Convert the following binary numbers into decimal:
(a) 1101.01 13.25
(b) 111001.0011 57.1875
(c) 101011.0101 43.3125
(d) 111.0001 7.0625
64.Convert the following hexadecimal numbers into decimal:
(a) A3.3 163.1875
(b) 129.C 297.75
(c) AC.DC 172.859375
(d) FAB.3 4011.1875
(e) BB8.0D 4000.8125
67.Convert the following hexadecimal numbers into binary-coded hexadecimal
code(BCH):
(a) 23 00100011
(b) AD4 101011010100
(c) 34.AD 00110100.10101101
(d) BD32 1011110100110010
(e) 234.3 001000110100.0011
68.Convert the following binary-coded hexadecimal numbers into hexadecimal:
(a) 11000010 C2
(b) 0001000011111101 10FD
(c) 10111100 BC
(d) 00010000 10
(e) 100010111010 8BA
69.Convert the following binary numbers to the ones complement form:
(a) 10001000 01111000
(b) 01011010 10100110
(c) 01110111 10001001
(d) 10000000 10000000
70.Convert the following binary numbers to the twos complement form:
(a) 10000001
(b) 10101100

(c) 10101111
(d) 10000000
75.Convert the following decimal numbers into 8-bit signed binary numbers:
(a) +32 0100000
(b) -12 11100
(c) +100 01100100
(d) -92 11011100
76.Convert the following decimal numbers into signed binary words:
(a) +1000
(b) -120
(c) +800
(d) -3212
77.Use an assembler directive to store -34 into the memory.
81.Convert the following decimal numbers into both packed and unpacked BCD
forms:
(a) 102
(b) 44
(c) 301
(d) 1000
82.Convert the following binary numbers into signed decimal numbers:
(a) 10000000 +128
(b) 00110011 +51
(c) 10010010 +146
(d) 10001001 +137
83.Convert the following BCD numbers(assume that these are packed numkbers)
into decimal numbers:
(a) 10001001 137
(b) 00001001 9
(c) 00110010 50
(d) 00000001 1
Chapter 2
1. What are program-visible register?
Its registers are used during application programming and are
specified
by the instructions.
13.In the real mode,show the starting and ending addresses of each segment
located by the following segment register values:
Starting address
ending address
(a) 1000H
10000H
1FFFFH
(b) 1234H
12340H
2233FH
(c) 2300H
23000H
32FFFH
(d) E000H
E0000H
EFFFFH
(e) AB00H
AB000H
BAFFFH

14.Find the memory address of the next instruction executed by the


microprocessor,when operated in the real mode,for the following CS:IP
combination:
(a) CS=1000H and IP=2000H 12000H
(b) CS=2000H and IP=1000H 21000H
(c) CS=2300H and IP=1A00H 24A00H
(d) CS=1A00H and IP=B000H 26000H
(e) CS=3456H and IP=ABCDH 3F12DH
15.Real mode memory address allow access to memory below which memory
address?
CS:IP SS:SP/BP DS:BX DS:SI DS:DI ES:DI
16.Which register are used as an offset address for string instruction
destinations in the microprocessor?
DI and EDI
19.If the base pointer(BP) address memory, the (stack) segment contains the
data.
Chapter 3
1. What do the following MOV instructions accomplish?
Source
address generation
destination
(a) MOV AX,BX
register BX
register AX
(b) MOV BX,AX
register AX
register BX
(C) MOV BL,CH
register CH
register BL
(d) MOV ESP,EBP
(e) MOV AX,CS
code cs
register AX
2.List the 8-bit registers that are used for register addressing?
AH BH CH DH AL BL CL DL
3.List the 16-bit registers that are used for register addressing?
AX BX CX DX
5.List the 16-bit segment registers used with register addressing by MOV,
PUSH, and POP.
BP SP
6.What is wrong with the MOV BL,CX instruction?
CX is 16-bit register, but BL is 8-bit register.
7.What is wrong with the MOV DS,SS instruction?
SSis stack segment, but DS is data segment.
9.select an instruction for each of the following tasks:
(a) move a 12H into AL
MOV AL,12H
(b) move a 123AH into AX
MOV AX,123AH
(c) move a 0CDH into CL
MOV CL,0CDH
(d) move a 1000H into SI
MOV SI,1000H
(e) move a 1200A2H into EBX MOV EBX,1200A2H
21.Suppose that DS=0200H,BX=0300H,and DI=400H.Determine the memory address

accessed by each of the following instructions, assuming real mode


operation:
(a) MOV AL,[1234H]
AL=3234H
(b) MOV EAX,[BX]
EAX=2300H
(c) MOV [DI],AL
Register 2400H=AL
27.Suppose that DS=1000H,SS=2000H,BP=1000H,and DI=0100H.Determine the
memory address accessed by each of the following instructions, assuming
real mode operation:
(a) MOV AL,[BP+SI]
AL=11100H
(b) MOV CX,[DI]
CX=10100H
(c) MOV EDX,[BP]
EDX=11000H
28.What, if anything, is wrong with a MOV AL,[BX][SI]instruction?
Because both [BX] and [SI] are address.
29.Suppose that DS=1200H,BX=0100H,and SI=0250H.Determine the address
accessed by each of the following instructions, assuming real mode
operation:
(a) MOV [100H],DL
register 12100H=DL
(b) MOV [SI+100H],EAX
register 12350h=EAX
(c) MOV DL,[BX+100H]
DL=12200H
30.Suppose that DS=1100H,BX=0200H,LIST=0250H,and SI=0500H,Determine the
address accessed by each of the following instructions, assuming real mode
operation:
(a) MOV LIST[SI],EDX
register 0750H=EDX
(b) MOV CL,LIST[BX+SI] CL=0950H
(c) MOV CH,[BX+SI]
CH=117H
31.Suppose that DS=1300H,SS=1400H,BP=1500,and SI=0100H,Determine the
address accessed by each of the following instructions, assuming real mode
operation:
(a) MOV EAX,[BP+200H]
EAX=14700H
(b) MOV AL,[BP+SI-200H] AL=14400H
(c) MOV AL,[SI-0100H]
AL=13000H
32.Which base register address data in the stack segment?
It is BP.

Vous aimerez peut-être aussi