Assembly Language PASSED Exam Questions and CORRECT Answers
2 views 0 purchase
Module
Assembly Language
Institution
Assembly Language
Assembly Language PASSED Exam
Questions and CORRECT Answers
What special purpose does the ECX register serve? - CORRECT ANSWER- Loop counter
VRAM stands for virtual random access memory. - CORRECT ANSWER- False
MOV is an example of an instruction mnemonic. - CORRECT ANSWER- True
What is the s...
Assembly Language PASSED Exam
Questions and CORRECT Answers
What special purpose does the ECX register serve? - CORRECT ANSWER- Loop counter
VRAM stands for virtual random access memory. - CORRECT ANSWER- False
MOV is an example of an instruction mnemonic. - CORRECT ANSWER- True
What is the sum of 00001111 and 00000010? - CORRECT ANSWER- 00010001
When a 32-bit value is pushed on the stack, what happens to ESP? - CORRECT ANSWER-
ESP is decremented by 4
Which instruction performs the following operation (CF = carry flag)? - CORRECT
ANSWER- RCL
In 32-bit mode, aside from the stack pointer (ESP), what other register points to variables on
the stack? - CORRECT ANSWER- EBP
LIFO stands for "last in first out". The last value pushing into the stack is the first value
popped from the stack. - CORRECT ANSWER- True
A nested procedure call occurs when a called procedure calls another procedure before the
first procedure returns. - CORRECT ANSWER- True
Why overflow cannot occur when the MUL and one-operand IMUL instructions execute. -
CORRECT ANSWER- The product in register, twice the size.
Which register (in 32-bit mode) manages the stack? - CORRECT ANSWER- ESP
, Which instruction shifts each bit to the right..copies lowest bit into the Carry flag. -
CORRECT ANSWER- RCR
USES tells the assembler to do two things. - CORRECT ANSWER- False
When EBX is the operand in a DIV instruction. Which register holds the quotient? -
CORRECT ANSWER- EAX
Files produced by the assembler? - CORRECT ANSWER- Object and Listing files
What is the most significant bit? - CORRECT ANSWER- The highest numbered bit
When BX is the operand in a DIV instruction, which register holds the quotient? -
CORRECT ANSWER- AX
Which instructon shifts each bit in an operand to the left and copies the highest bit into the
Carry and lowest bit position? - CORRECT ANSWER- ROL
The PUSH instruction cannot have an immediate operand. - CORRECT ANSWER- False
What would happen if the RET instruction was omitted from a procedure? - CORRECT
ANSWER- Execution would continue..into another procedure.
What are the required input parameters for the DumpMem procedure? - CORRECT
ANSWER- ESI contains the data's starting address. ECX and EBX.
What happens to the Carry flag when the SHR AX, 1 instruction executes. - CORRECT
ANSWER- receives the lowest bit of AX BEFORE the shift.
ADC does: - CORRECT ANSWER- adds both a source operand and the carry flag to
destination
Name the four basic parts - CORRECT ANSWER- label, mnemonic, operand and comment
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £7.80. You're not tied to anything after your purchase.