Professional Documents
Culture Documents
105 M3-EX Compiled
105 M3-EX Compiled
105 M3-EX Compiled
01(sribd)
10
11
2. "If a descriptor has Base = 23000000H, Limit = 012FFH and G =1, the described segment
ends at"
230012FFH
2300FFFF
242FFFFFH
3. "For the instruction MOV CL, CH what is the code in the REG field when assembled?"
001
101
010
100
AL, AH
5. Given: MOV BL,04Fh
True
False
AX and DX
7. "If the instruction is MOV BL, DS:[1234H], the code for R/M = "
011
111
110
indeterminate
8. “In protected mode, a selector value gives the following segment information EXCEPT"
base address
ending address
9. One must never use the segment registers as data registers to hold arbitrary values because:
They should only contain register addresses
They should only contain ending addresses
10. If the direction bit, D=1, data flow the register REG field the R/M field located
in the second byte of an instruction."
"from, to"
"to, within"
"to, from"
11. “CS contains 2001H and IP contains 007CH, which physical memory location is
accessed for the next instruction?"
20010H
3000FH
2007DH
2008CH (docs)
PROOF:
12. This group of instruction is used to shift or rotate bits left or right in register or
memory operands.
Bit Manipulation Instructions
Logical Instructions
Arithmetic Instructions
13. If the MOD field contains a 00, 01, or 10 and R/M Code is 001, the addressing mode is
."
DS:[BX+SI]
DS:[BX+DI]
DS:[DI]
DS:[BX]
b and c
15. “What is the starting and ending address of the segment located by the segment
register value, 1000H?"
"10FFFH , FFFFFH "
"10000H, 10FFFH"
"01000H, 01FFFH"
"10000H,1FFFFH" (docs)
STC
CMC (PDF ni sir)
CLD
17. “The selects the operation (addition, subtraction, move, and so on) that is performed
by the microprocessor."
Encoder
Segment Register
Decoder
Opcode
18. In unsigned division of a doubleword in DX AX by a word in CX, the quotient will be placed in
and the remainder in
AX, DX
19. In calculating the target address to jump to, a displacement is added to the contents of the register
.
PC
20. It is a general purpose instruction to transfer byte or word from register to register,
memory to register, register to memory or with immediate addressing.
IN & OUT
instructions
PUSH instruction
MOV instruction
POP instruction
MOV AX, SS
10001100 mm0srr/m = MOV seg reg to reg/mem
10001100 11010000
= MOV AX,SS
22. Program control transfer instructions, are instructions for the transfer of data from memory
to internal register, from internal register to memory, from one register to another register, from
input port to internal register, from internal register to output port, etc.
True
False -> data transfer instruction
1GB
4GB
16GB
ROL
ROR
REP
RCR
25. “In the RCL instruction, the contents of the destination operand undergo function as"
carry flag is pushed into LSB & MSB is pushed into the carry flag
carry flag is pushed into MSB & LSB is pushed into the carry flag
auxiliary flag is pushed into LSB & MSB is pushed into the carry flag
parity flag is pushed into MSB & LSB is pushed into the carry flag
Registers
Destination operand
nowhere
PUSH
POP
29. "The flag that acts as Borrow flag in the instruction, SBB is"
direction flag
carry flag
parity flag
trap flag
30. “To compare the source and destination operands, CMP instruction performs
between the operands"
Addition
Subtraction
1 s complement
XOR
31. it is a utility program that converts source code programs from assembly
language into machine language.
Assembler
32. In unsigned multiplication of CX with a byte in AL, the product is placed in both AX and DX registers.
True
False
33. “It is used to examine the state of individual bits, or groups of bits."
Double words
Test
Bit Test
34. Given the following what is the content of the register after executing the
AX = 000Ch
BX = 000C0h
CX=00C0h
35. “Given CS = 2000H and IP= 1000H, Find the memory address of the next instruction
executed by the microprocessor."
21000H
22000H
2100H
12000H
36. Given the following, what is the content of the destination after executing the
AX = F00Dh
AX = 0FEEDh
38. “In real mode, which physical address is accessed by the segment-offset combination
0CD1:02E0"
0CFF0H
00FB1H
0FB10H
none of the
choices
39. The 100010dw mmregr/m template should be used for converting the following
assembly instructions to machine code except:
"MOV AX,[BX]"
"MOV ES, AX"
"MOV [BP+4891H],DL"
"MOV [1000H],DL"
(c)RPL
both a and b
41. Convert to machine code the instruction, POP BP. (Answer in Hexadecimal)
5DH
42. The instruction that performs logical AND operation and the result of the operation is not
stored in the destination operand.
AAA
AND
TEST
XOR
43. Convert to machine code the instruction ADC BX,DX. (Answer in Hexadecimal)
(b)access rights
(c)granularity
both a and b
45. Convert to machine code the instruction AND AL,0FCH. (Answer in Hexadecimal)
24FCH
3-byte
4-byte
6-byte
48. "If the instruction is MOV CL,DS:[1234H], the code for mm = "
00
11
01
10
01(sribd)
10
11
"If a descriptor has Base = 23000000H, Limit = 012FFH and G =1, the described segment ends at"
230012FFH
2300FFFF
242FFFFFH
101
010
100
In unsigned division of a word in AX by a byte in DATA2, the quotient will be placed in ______
and the remainder _________
AL, AH
True or False
"If the instruction is MOV BL,DS:[1234H], the code for R/M = ______"
011
111
110
indeterminate
“In protected mode, a selector value gives the following segment information EXCEPT"
base address
ending address
"to, within"
"to, from"(docs)
“CS contains 2001H and IP contains 007CH, which physical memory location is accessed for the next
instruction?"
20010H
3000FH
2007DH
2008CH (docs)
This group of instruction is used to shift or rotate bits left or right in register or memory operands.
Bit Manipulation Instructions
Logical Instructions
Arithmetic Instructions
DS:[BX+DI] (docs)
DS:[DI]
DS:[BX]
"Which of the following segment:offset combinations points to a common physical memory address? a)
A1B2:000C, b) A1B0:200C, c) A1B0:002C, d) A1B1:001C"
a and b
b and c
"10000H, 10FFFH"
"01000H, 01FFFH"
"10000H,1FFFFH" (docs)
This instructions inverts the carry flag.
CLC
STC
CMC (docs)
CLD
“The ______ selects the operation (addition, subtraction, move, and so on) that is performed by the
microprocessor."
Encoder
Segment Register
Decoder
Opcode
In unsigned division of a doubleword in DX AX by a word in CX, the quotient will be placed in _______
and the remainder in __________
AX, DX
In calculating the target address to jump to, a displacement is added to the contents of the register ___.
PC
It is a general purpose instruction to transfer byte or word from register to register, memory to register,
register to memory or with immediate addressing.
IN & OUT instructions
PUSH instruction
MOV instruction
POP instruction
Covert the machine code 8CD0H to Assembly Language.
MOV AX, SS
Program control transfer instructions, are instructions for the transfer of data from memory to internal
register, from internal register to memory, from one register to another register, from input port to internal
register, from internal register to output port, etc.
True
False
32-bit microprocessors operating in protected mode could address up to ______ of memory.
640MB
1GB
4GB
16GB
ROR
REP
RCR
“In the RCL instruction, the contents of the destination operand undergo function as"
carry flag is pushed into LSB & MSB is pushed into the carry flag
carry flag is pushed into MSB & LSB is pushed into the carry flag
auxiliary flag is pushed into LSB & MSB is pushed into the carry flag
parity flag is pushed into MSB & LSB is pushed into the carry flag
In a compare (CMP) operation, the result of comparison is stored in"
Memory
Registers
Destination operand
nowhere
PUSH
DAS ata
POP
"The flag that acts as Borrow flag in the instruction, SBB is"
direction flag
carry flag
parity flag
trap flag
“To compare the source and destination operands, CMP instruction performs ________ between the
operands"
Addition
Subtraction
1 s complement
XOR
____________ it is a utility program that converts source code programs from assembly language into
machine language.
Assembler
In unsigned multiplication of CX with a byte in AL, the product is placed in both AX and DX registers.
True
False
“It is used to examine the state of individual bits, or groups of bits."
Double words
Test
Bit Test
Given the following what is the content of the register after executing the instruction
MOV AX, 11001100b
XOR AX, 0CH
AX = 000Ch
BX = 000C0h
CX=00C0h
“Given CS = 2000H and IP= 1000H, Find the memory address of the next instruction executed by the
microprocessor."
21000H
22000H
2100H
12000H
Given the following , what is the content of the destination after executing the
instructions
MOV AX, 0FEEDh
AND AX, 0F00Dh
BX = 0FOODh
AX = F00Dh
AX = 0FEEDh
00FB1H
0FB10H
"MOV [BP+4891H],DL"
"MOV [1000H],DL"
“In protected mode, access to the segment is allowed if"
(a)RPL = DPL
(c)RPL
both a and b
Convert to machine code the instruction, POP BP. (Answer in Hexadecimal)
5D H
The instruction that performs logical AND operation and the result of the operation is not stored in the
destination operand.
AAA
AND
TEST
XOR
Convert to machine code the instruction ADC BX,DX. (Answer in Hexadecimal)
13DAH
"In protected mode memory, protection implemented by restricting access to memory segments through"
(a)privilege levels
(b)access rights
(c)granularity
both a and b
3-byte
4-byte
6-byte
"If the instruction is MOV CL,DS:[1234H], the code for mm = ______"
00
11
01
10
“The instruction MOV DS:[2000H], AL"
has mixed sizes operands – quizlet