addition and subtraction

mcqspedia.com has 4 Question/Answers about Topic addition and subtraction

MIPS architecture detects exception of overflow also known as

MIPS architecture detects exception of overflow also known as
  • A. Interrupt
  • B. Error
  • C. Unconditional flow
  • D. Trap
  • Correct Answer: Option A

For adding immediate unsigned command we have is

For adding immediate unsigned command we have is
  • A. addiu
  • B. addi
  • C. addu
  • D. addui
  • Correct Answer: Option A

Example of if ($s2 < $s3); s1 = 1; else $s1 = 0 function is

Example of if ($s2 < $s3); s1 = 1; else $s1 = 0 function is
  • A. slti $s1,$s2,100
  • B. slt $s1,$s2,$s3
  • C. slt $s1,$s2,100
  • D. sll $s1,$s2,$s3
  • Correct Answer: Option B

Adding 0000 0000 0000 0000 0000 0000 0000 0111two and 0000 0000 0000 0000 0000 0000 0000 0110two will have answer of

Adding 0000 0000 0000 0000 0000 0000 0000 0111two and 0000 0000 0000 0000 0000 0000 0000 0110two will have answer of
  • A. 0000 0000 0000 0000 0000 0000 0011 1101two
  • B. 1111 0000 0000 0000 0000 0000 0000 1101two
  • C. 0000 0000 0000 0000 0000 0000 0000 1101two
  • D. 0000 0000 0000 0000 0000 0000 0000 1111two
  • Correct Answer: Option C