CDA3100 Module 4 and 5 Quiz questions
The MIPS language supports 23 specific opcodes. - Answer- False it contains approximately 50 specific opcodes Comments in MIPS are exactly like C comments - Answer- False it can only be done with inline with # Which character(s) indicate(s) the beginning of a comment in MIPS? - Answer- # What character indicates a register in MIPS? - Answer- $ How many registers does MIPS support? - Answer- 32 How many argument registers are available in MIPS? - Answer- 4 are available $a0, $a1, $a2, $a3 represent $4 to $7 How many saved registers are available in MIPS? - Answer- 8 are available $s0, $s1, $s2, $s3, $s4, $s5, $s6, $s7 represent $16 to $23 How many temporary registers are available in MIPS? - Answer- 10 are available $t0, $t1, $t2, $t3, $t4, $t5, $t6, $t7, $t8, $t9 Represent $8 to $15 and $24 to $25 What is the purpose of register $29? - Answer- It points to the top of the stack Is MIPS stores data in memory using the Little Endian format? - Answer- False MIPS is Big Endian How many bytes comprise a word in MIPS? - Answer- 4 Which instruction format represents the majority of MIPS instructions? - Answer- R-type Instruction (opcode) Destination register (rd) Source register 1 (rs) Source register 2 (rt)
Written for
- Institution
- CDA3100
- Module
- CDA3100
Document information
- Uploaded on
- June 23, 2023
- Number of pages
- 4
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cda3100 module 4 and 5 quiz questions
-
the mips language supports 23 specific opcodes
-
httpsquizletcom811732161flash cardsnew
-
which characters indicates the beginning of a