Computers

University

Image

COMP1521 Revision Quiz

46
plays

30 questions

Show Answers
See Preview
  • 1. Multiple Choice
    20 seconds
    1 pt

    In MIPS, which of the following is used when calling a function?

    jal

    sb

    add

    li

  • 2. Multiple Choice
    20 seconds
    1 pt

    In MIPS, how are arguments by convention passed to a function?

    They are stored in the stack

    They are stored in registers $a0$a3

    They are stored in the data segment

    They are stored in registers $t0$t3

  • 3. Multiple Choice
    20 seconds
    1 pt

    In MIPS, which register is by convention used to store the return value of a function?

    $v0

    $a0

    $t0

    $s0

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?