Question

Please answer the following Assembly x86 Questions with either TRUE or FALSE. 1. The PUSHAD instruction...

Please answer the following Assembly x86 Questions with either TRUE or FALSE.

1. The PUSHAD instruction pushes all the 32-bit general-purpose registers on the stack.

2. The SS register points to the last value pushed on the stack.

3. The POP instruction copies a value from the stack to an operand, then it increments the stack pointer

4. When a macro is invoked, both CALL and RET instructions are needed.

5. When the instruction CALL runs, ESP always changes value.

6. The stack can be used as temporary data storage.

7. There are multiple stack frames in the stack when there is a nested procedure call

8. The RET instruction at the end of a procedure is optional

9. The instruction: ret 8
means that 8 input parameters will be removed from the stack

10. There are 2 conventions to clear input parameters from the stack:
- one that requires the calling procedure (caller) to clean up input parameters
- one that requires the called procedure (callee) to clean up input parameters

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Pushed on the st ack ANSTis statment fake peason Ss known h ne stack segment Register ss egiste Points to he geneal The ayeANTs statement Rehe stack potat ncrementef to point to he net evcilable value tn statk uwhen pop ued y) twhen matyo sinvoked,

Add a comment
Know the answer?
Add Answer to:
Please answer the following Assembly x86 Questions with either TRUE or FALSE. 1. The PUSHAD instruction...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • explain why 5. Which of the following are TRUE for the X86 call instruction? (A) Branches...

    explain why 5. Which of the following are TRUE for the X86 call instruction? (A) Branches to a specified address: (B) Pushes the instruction pointer value onto the stack; (C) Its target address may be specified in a general-purpose register; (D) Pushes flag registers onto the stack. Answer: Questions 6 - 10. True/False (Total 25 points. 5 points/question) Write T (True) or F (False) on the blank before each statement. 6. The results of code fragment sizeof(int*)=sizeof(int) depends on the...

  • LC-3 Programming Help!! The Stack Protocol The following outline is the protocol for passing arguments to...

    LC-3 Programming Help!! The Stack Protocol The following outline is the protocol for passing arguments to a function and returning values. Everything is stored on the runtime stack so that space is used only when the function is executing. As a result the actual address of arguments and locals may change from call to call. However, the layout of the stack frame (activation record) is constant. Thus, the offests from the frame pointer (FP) to the parameters/locals are constant. All...

  • Assembly questions 1. Each of the 8 32-bit general purpose registers in the 80x86 family contains...

    Assembly questions 1. Each of the 8 32-bit general purpose registers in the 80x86 family contains 8 16 bit registers, and 8 8 bit registers. True or false? 2. When we need to see if a math operation resulted in a zero answer, we may use:    a. ESP    b. keyboard latch    c. memory address bus    d. EFLAGS 3. The operation:   add (radius, eax) ;    a. changes the contents of radius.    b. changes the contents...

  • Assembly language 64 bit please ! An example file for set up ==========+ ;| Data Segment...

    Assembly language 64 bit please ! An example file for set up ==========+ ;| Data Segment BEGINS Here | ;+======================================================================+ segment .data ;Code this expression: sum = num1+num2 num1 dq 0 ;left operand of the addition operation num2 dq 0 ;right operand of the addition operation sum dq 0 ;will hold the computed Sum value RetVal dq 0 ;Integer value RETURNED by function calls ;can be ignored or used as determined by the programmer ;Message string prompting for the keyboard...

  • Answer the following questions (1/2 pt ea): What are the two parts of an Instruction in...

    Answer the following questions (1/2 pt ea): What are the two parts of an Instruction in the Pep/9? Match the following items (1/2 pt ea): Assignment Selection Source Code -- Allows a choice, uses a If-Then or If-Then-Else statement. --Higher-level code that must be converted to Machine Code to execute. --Places a value into a variable. Answer the following questions (1/2 pt ea):What is the Assembly mnemonic to add a value to the A Register? What is the Assembly mnemonic...

  • Each of the following questions is either True or False. Place a T (True) if the...

    Each of the following questions is either True or False. Place a T (True) if the answer is True on the answer sheet beside the question; otherwise place a F (False) if the answer is False on the answer sheet beside the question. 21. Variable-length instructions are easier to decode than fixed-length instructions.       T                                        F 22. Fixed-length instructions always have the same number of operands.       T                                        F 23. The two types of cache write policies are write-through and write-back.       T                                        F 24. When...

  • Questions 1 to 10 are false statements. Please re-write each statement so that it is true....

    Questions 1 to 10 are false statements. Please re-write each statement so that it is true. It may be as simple as one word change or more complex. 1. A callable bond is one in which the issuer is required to retire a certain amount of the outstanding bonds each year to ensure that all the bond principle is paid by final maturity. 2. There is no default risk with either Treasury bonds or municipal bonds. 3. The dirty price...

  • JAVA 3 PLEASE ANSWER AS MANY QUESTIONS AS POSSIBLE! ONLY 2 QUESTIONS LEFT THIS MONTH!!! Question...

    JAVA 3 PLEASE ANSWER AS MANY QUESTIONS AS POSSIBLE! ONLY 2 QUESTIONS LEFT THIS MONTH!!! Question 12 pts Which is a valid constructor for Thread? Thread ( Runnable r, int priority ); Thread ( Runnable r, String name ); Thread ( int priority ); Thread ( Runnable r, ThreadGroup g ); Flag this Question Question 22 pts What method in the Thread class is responsible for pausing a thread for a specific amount of milliseconds? pause(). sleep(). hang(). kill(). Flag...

  • 1. Which of the following is true about a promissory estoppel? A) It is invoked in...

    1. Which of the following is true about a promissory estoppel? A) It is invoked in cases having incompetent parties. B) It permits a court to order enforcement of a contract that lacks consideration. C) It allows for a party to claim goods that were never paid for. D) It is invoked in cases that involve a promissory note. 2. Which of the following is true for a minor under the infancy doctrine? A) A minor is bound to the...

  • Please answer all the blanks (volume if H2 and everything in analysis). TIA! Data 5 1...

    Please answer all the blanks (volume if H2 and everything in analysis). TIA! Data 5 1 oong 0.00 10.5ml 2 o.olag 0.00 11.0 Trial 3 o.org 0.00 12.00 o Daag o.albg 0.00 10.0 ml 11.5ml Mass of Mg (g) Initial volume of Syringe (mL) Final volume of Syringe (mL) Volume of H (mL) Barometric pressure (torr) Ambient temperature (°C) Vapor pressure of H2O (torr) 779.314har 23. Oi 21.0 forr TA.314tar 23.0c 179.3 14ton 23.0¢ 779.314 ton 23.0c 779.31472 23.0c 21.0...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT