wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FCPC-FinalExam-COMPORG

Total questions: 27

Worksheet time: 39mins

Name
Class
Date
1.

What special purpose does the ECX register serve?

(a)  

2.
VRAM stands for virtual random access memory.
a)
True
b)
False
3.
MOV is an example of an instruction mnemonic
a)
True
b)
False
4.

What is the sum of 00001111 and 00000010?

(a)  

5.

When a 32-bit value is pushed on the stack, what happens to ESP.?

(a)  

6.

Which instruction performs the following operations (CF = carry flag)>

(a)  

7.

In 32-bit mode, aside from the stack pointer (ESP), what other register points to variables on the stack?

(a)  

8.
LIFO stands for "last in first out". The last value pushing into the stack is the first value popped from the stack.
a)
True
b)
False
9.
A nested procedure call occurs when a called procedure calls another procedure before the first procedure returns.
a)
True
b)
False
10.

Why overflow cannot occur when MUL and one-operand IMUL instruction execute?

(a)  

11.

Which register (in 32-bit mode) manage the stack?

(a)  

12.

Which instruction shifts each bit to the right..copies lowest bit into the carry flag.

(a)  

13.
USES tells the assembler to do two things.
a)
True
b)
False
14.

When EBXis the operandin a DIV Instruction. Which register holds the quotient?

(a)  

15.

Files produced by the assembler?

(a)  

16.

What is the most significant bit?

(a)  

17.

When BX is the operand in a DIV instruction, which register holds the quotient?

(a)  

18.

Which instruction shifts each bit in an operand to the left and copies the highest bit into the carry and lowest bit position?

(a)  

19.
The PUSH instruction cannot have immediate operand.
a)
True
b)
False
20.

What would happen if the RET instruction was omitted from a procedure?

(a)  

21.

What are the required input parameters for the DumpMem procedure

(a)  

22.

What happens to the carry flag when the SHR AX, 1 instruction executes?

(a)  

23.

adds both a source operand and the carry flag to destination

(a)  

24.

Name the four basic parts:

(a)  

25.
Explain the role of registers in assembly language programming.
4 lines
26.
Describe the difference between high-level programming languages and assembly language. Provide examples to illustrate your points.
4 lines
27.
Discuss the significance of the assembler in the assembly language programming process.
4 lines