0% found this document useful (0 votes)
9 views10 pages

Oral 2024

assembly oral

Uploaded by

Nada Nagy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views10 pages

Oral 2024

assembly oral

Uploaded by

Nada Nagy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Model 1

1. Given the logical address F00F:1150h, the physical address is


a) F10F0h b) 1F50Fh c) 1024Fh d) F1240h
2. The result of CS register after executing the following code is
Mov Cs,1256h
a) 1256h b) 6521h c) 56h d) Instruction causes an error
3. The instruction, MOV AX, BX is an example of
a) direct addressing mode b) indexed addressing mode
c) indirect addressing mode d) Register addressing mode

4. What is the name of the lowest 8 bits of the AX register?


A) BL B) AL C) AX C) AH
5. Which of the following is not an arithmetic instruction?
A. INC B.ROL C. DEC D. CMP

6. The result of MOV AL, 65, is


A. store 0100 0010 in AL B. store 42H in AL
C. store 40H in AL D. store 0100 0001 in AL

7. _______directive Provides the flexibility to access part of a variable.


A. offset. B. segment. C.dd D. PTR
8. After the execution of the following instruction, the value will be stored
in____ register.
MUL BX.
A. BX &DX B.AX C. Instruction causes an error D. DX & AX
9. The result of the following instruction is:
MOV Ax,5h
SHL Ax,1
A. store 05h in ax and set carry 1. B. store 0101 in ax and set carry 1.
C. store 0005h in ax and set carry 0. D. store 000A in ax and set carry 0.
10. The register that contains the segment number for the code is
a) BX b) SS c) DS d) CS
11. Adding 5 to 0FBh in an 8-bit register sets the Zero flag. (T/F).
12. The following instruction is true: mov DS, Bx. (T/F).
Model 2
1. Given the logical address F005:1150h, the physical address is
a) F10F0h b) F11A0h c) 10F45h d) F1245h
2. The instruction, MOV AX, 5h is an example of
a) direct addressing mode b) indexed addressing mode
c) immediate addressing mode d) Register addressing mode
3.the result of multiplying two -8 bits numbers must be stored in …… bit register
a)2 b)64 c)16 d)8
4.Interprets each instruction and generates required control signals
a) control unit b) ALU c) program d) software
5. The register that contains the segment number for the data is
a) CS b) DS c) SS d) BX
6. A 20-bit address bus allows access to a memory of capacity ___________
A. 1 MB B. 2 MB C. 4 MB D. 8 MB
7. Which of the following is true?
A. MUL BX. B.MUL BX,5H C.MUL 5H. D.MUL AX, BL.
8. The result of MOV AX, BL is [bl=>42h]
A. store 0100 0010 in AL B. store 42H in AL
C. store 40H in AL D. Instruction causes an error
9. The result of the following instructions is:
MOV AL,0F7H
SHR AL,1
A. store 0Fh in AL and set carry 1. B. store 7Bh in AL and set carry 1.
C. store FBh in Al and set carry 1. D. store F7 in Al and set carry 1.
10. The IP is ________ bits in length
A. 8 bits B. 4 bits C. 16 bits D. 32 bits
11. The AND instruction has only one operand. (T/F)

12.The Mul instruction has two operand. (T/F)


Model 3
1. after the execution of the following instruction: MOV AX,542Fh , the value stores in AL:
a) 54h b)2Fh c)00h d)no data is stored
2. Which of the following instruction is not valid?
a) MOV AX, BX b) MOV DS, 5000H
c) MOV AX, 5000H d) PUSH AX
3. in the following declaration: var dw 0f5h,12h,14h ,how many bytes are reserved from
memory?
a)16byte b)3byte c)6byte d)12byte
4. Given CS = 2000H and IP = 1000H, find the memory address of the next instruction
executed by the microprocessor.
a. 21000H b. 22000H c. 2100H d. 12000H
5. The instruction, MOV AX, [si] is an example of
a) direct addressing mode b) indexed addressing mode
c) immediate addressing mode d) Register addressing mode
6. After the execution of compare operation, the value of carry flag is set 1 when
A. destination > source.
B. destination< source.
C. destination = source.
D. none of the above.
7. In 8086 microprocessor, the data bus is ___________ wide.
A.20bit. B.8bit C.16bit D.1byte
8.the value of AL after executing the following code is:
Mov AL,7Fh
ROR AL,4
a) F0H B) 07H C) F7H D) FFH
9. what is the value of AL after executing the following instructions?
Mov BL,8CH
MOV AL,7EH
SUB BL, AL
A) F2H, and CF=0 B) 0EH,and CF=1 C) 0EH,and CF=0 D) F2H,and CF=1
10. in the following code, FUNCTION2 will be called if
Cmp AX,0
JNE NEXT
Call FUNCTION2
NEXT:
A) AX<0 B) AX<=0 C) AX>0 D) AX=0
11. The register that contains the segment number for the stack is
a) CS b) SS c) DS d) BX
12. What is the name of the highest 8 bits of the DX register?
A) DL B) DH C) DX C) DS
Model 4
1. Within the CPU, all calculations and logic operations take place inside the
___________
a. registers b. ALU c. CU d. MBU
2. The three types of buses connected to the CPU are:
a. data, address, control b. data, system, address
c. address, control, memory d. fetch-decode, control, execution
3. In 8086 the Carry flag is set when___________
A. unsigned numbers go out of their range after an arithmetic operation.
B. signed numbers go out of their range after an arithmetic operation.
C. when subtraction requires a borrow at the last bit.
D. A&C
E. B& C
4. The instruction, MOV AX, [4625H] is an example of
a) direct addressing mode b) indexed addressing mode
c) immediate addressing mode d) Register addressing mode
5. The result of MOV [0000h], [0005h] is
A. the content of the memory cell 0005h will be stored in memory cell 0000h.
B. the content of the memory cell 0000h will be stored in memory cell 0005h.
C. Instruction causes an error D. none of the above.
6. ……. Directive is used to define a constant without taking up memory.
A. offset. B. db. C.EQU D. PTR
7.convert capital character stored in al to small character by
a) XOR AL,01001000b b) AND AL,00100000b
c) XOR AL,00100000b c) NOT Al, 00100000b
8.writing the assembly line( array DW 100 dup(2,3) ) will preserve a memory area
with
a)100bytes b)100 bits c)200bytes d)200word
9. in the following code, FUNCTION2 will be called if
Cmp AX,0
JGE NEXT
Call FUNCTION2
NEXT:
A) AX<0 B) AX<=0 C) AX>0 D) AX=0
10.the component of the computer responsible for data processing is the
a) CPU b) I/O c) memory d) buses
11.it responsible for establishing communication with the external bus system
a) FIFO queue b) BIU c) ALU D) EU
12. The result of the following instructions are:
MOV AL,0F7H
SAR AL,1
A. store 0Fh in AL and set carry 1. B. store 7Bh in AL and set carry 1.
C. store FBh in Al and set carry 1. D. store F7 in Al and set carry 1.
Model 5
1. The BP is indicated by ______
A. base pointer B. binary pointer C. bit pointer D. digital pointer
2. in the following declaration: var dw ? ,how many bytes are reserved from
memory?
a)16byte b)2byte c)4byte d)16bit
3. The result of MUL AX, F7h is [ax=>1]
A. store F7h in AL B. store F7H in Ax
C. store F7H in DX D. Instruction causes an error
4. After execution of an instruction, value of source is changed. (T/F)
5.The following instruction is true: mov DS, SS. (T/F)
6.The following instruction is true: mov DS, Bx. (T/F)
7.The following instruction is true: mov DS, 56h. (T/F)
8. The instruction, MOV AX, [Di] is an example of
a) direct addressing mode b) indexed addressing mode
c) immediate addressing mode d) Register addressing mode
9. Which of the following examples is an Immediate Addressing Mode?
a. MOV AL,0FFH b. MOV AX, [BX+4]
c. MOV [DI-8], BL d. MOV [500H], AL
10. ------- directive Provides the flexibility to access part of a variable
A. offset. B. segment. C.dd D. PTR
11. After the execution of compare operation, the value of Zero flag is set 1 when
A. destination > source.
B. destination< source.
C. destination = source.
D. none of the above.
12. After the execution of the following instruction, the value will be stored
in____ register.
MUL BL.
A. BX &DX B.AX C.DX & AX. D. Instruction causes an error
Model 6
1. Offset FFFFh of physical address 0FFFFh is within segment number ------

a) 0FFFh b) 0000h c) FFFFh d) FFFF0h


2. The register that contains the segment number for the data is
a) CS b) DS c) SS d) BX
3. The instruction, MOV AX, 0005H belongs to the address mode
a) register b) direct c) immediate d) register relative
4. A 20-bit address bus allows access to a memory of capacity ___________
A. 1 MB B. 2 MB C. 4 MB D. 8 MB
5. physical address corresponds to logical address 028F:0030
a) 031Fh b)02920h c)02830h d)028f3h
6. Which register Can be used for addressing?
a.Ax B. Bx C. Cx D.Dx
7. The result of MOV 65, AL is
A. store 0100 0010 in AL B. store 42H in AL
C. store 40H in AL D. Instruction causes an error
8. The result of MOV [0000h], [0005h] is
A. the content of the memory cell 0005h will be stored in memory cell 0000h.
B. the content of the memory cell 0000h will be stored in memory cell 0005h.
C. Instruction causes an error D. none of the above.
9. The result of the following instruction is:
MOV AL,0F7H
SHR AL,1
A. store 0Fh in AL and set carry 1. B. store 7Bh in AL and set carry 1.
C. store FBh in Al and set carry 1. D. store F7 in Al and set carry 1.
10. in the following declaration: var dd 0f5h,12h,14h, how many bytes are reserved
from memory?
a)16byte b)3byte c)6byte d)12byte
11. The 8086 microprocessor does not allow memory to memory transfers. (T/F)
12. The ALU performs only addition, subtraction, multiplication, and division
operations. (T/F)
Model 7
1.Given the logical address F005:1150h, the physical address is
a) F10F0h b) F11A0h c) 10F45h d) F1245h
2. The instruction, MOV AX, 5h is an example of
a) direct addressing mode b) indexed addressing mode
c) immediate addressing mode d) Register addressing mode
3. In 8086 the Carry flag is set when___________
A. unsigned numbers go out of their range after an arithmetic operation.
B. signed numbers go out of their range after an arithmetic operation.
C. when subtraction requires a borrow at the last bit.
D. A&C
E. B& C
4. The instruction, MOV AX, [4625H] is an example of
a) direct addressing mode b) indexed addressing mode
c) immediate addressing mode d) Register addressing mode
5. The instruction, MOV AX, [Bx] is an example of
a) direct addressing mode b) baseed addressing mode
c) immediate addressing mode d) Register addressing mode
6. After the execution of compare operation, the value of carry flag is set 1 when
A. destination > source.
B. destination< source.
C. destination = source.
D. none of the above.
7. In 8086 microprocessor, the data bus is ___________ wide.
A.20bit. B.8bit C.16bit D.1byte
8. in the following declaration: var db 0f5h,12h,14h ,how many bytes are reserved from
memory?
a)16byte b)3byte c)6byte d)12byte
9. This addressing mode uses a register to hold the actual address that identifies either the
source or the destination to be used in the data transfer.
a. Indirect b. Register relative c. Direct d. Immediate.
10. What is the value of AL after executing the following instructions?
MOV AL,35h
ADD AL,49h
a) 7Eh b) 84h c) 3549h d) 4935h
11. Adding 5 to 0FBh in an 8-bit register sets the Zero flag. (T/F)
12. The MOV instruction does not permit an immediate value to be
moved to a segment register. (T/F)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy