adplus-dvertising
frame-decoration

Question

What are the two basic instructions used in assembly language for function calls?

a.

ADD and SUB

b.

CALL and JMP

c.

PUSH and POP

d.

MOV and XOR

Posted under Reverse Engineering

Answer: (b).CALL and JMP Explanation:Function calls are implemented using two basic instructions in assembly language - CALL and RET.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What are the two basic instructions used in assembly language for function calls?

Similar Questions

Discover Related MCQs

Q. Which instruction pushes the current instruction pointer onto the stack in assembly language?

Q. What does the RET instruction do in assembly language?

Q. What is the purpose of incrementing ESP by the specified number of bytes after popping the instruction pointer in assembly language?

Q. What is a calling convention in assembly language?

Q. What does the CALL instruction do in assembly language?

Q. What does the CMP instruction do in assembly language?

Q. What does the JNZ instruction do in assembly language?

Q. What does the MOV instruction do in assembly language?

Q. What is the purpose of the IMUL instruction?

Q. What would you need to do to accurately determine what the fifth value pushed onto the stack represents?

Q. What percentage of modern software is implemented using high-level languages and goes through a compiler before being shipped to customers?

Q. Why is it helpful to develop a general understanding of compilers?

Q. Why is compiler-generated code difficult to read?

Q. What is the benefit of understanding how compilers operate?

Q. What is the main challenge involved in deciphering compiler-generated code?

Q. What is the input representation for most compilers?

Q. What is the output representation for most compilers?

Q. What is the function of the optimizer in a compiler?

Q. What is the responsibility of the back end in a compiler?

Q. What is the definition of a compiler?