computer hardware procedures

mcqspedia.com has 5 Question/Answers about Topic computer hardware procedures

For pointing to first word of frame of a procedure, pointer used is

For pointing to first word of frame of a procedure, pointer used is
  • A. $fp
  • B. $fa
  • C. $sp
  • D. $sa
  • Correct Answer: Option A

LINK instruction saved in $ra register, have PC increment of

LINK instruction saved in $ra register, have PC increment of
  • A. PC +1
  • B. PC +2
  • C. PC +4
  • D. PC +8
  • Correct Answer: Option C

Jumping back to calling routine in MIPS is represented as

Jumping back to calling routine in MIPS is represented as
  • A. jl $ra
  • B. jr $ra
  • C. jump $ra
  • D. jmp $ra
  • Correct Answer: Option B

Program, that instigates a procedure while execution, is known as

Program, that instigates a procedure while execution, is known as
  • A. Caller
  • B. Callee
  • C. Stack
  • D. Functions
  • Correct Answer: Option A

Stack’s segment that is used to have procedure’s saved registers, is known as

Stack’s segment that is used to have procedure’s saved registers, is known as
  • A. Activation record
  • B. Procedure frame
  • C. Queue
  • D. both a and b
  • Correct Answer: Option D