Each MIPS arithmetic instruction performs only one operation and must always have precisely three variables. For example : add a, b, c.
Operations of the Computer Hardware
AU Dec.-18
• Each MIPS arithmetic instruction
performs only one operation and must always have precisely three variables. For
example : add a, b, c.
• Suppose we want to place the sum of
four variables b, c, d, and e into variable a; we have to perform the following
sequence of instructions:
add a, b, c// Places the sum of b and c
in a
add a, a, d// Places the sum of b, c,
and d in a
add a, a, e// Places the sum of b, c, d,
and e in a
Thus, it takes three instructions to sum
the four variables.
• Generally type of operations supported
by MIPS instruction set architecture can be categorized as follows:
• Arithmetic
• Data transfer
• Logical
• Conditional branch
• Unconditional jump.
Review Questions
1. List the type of operations supported
by MIPS instruction set architecture.
Digital Principles and Computer Organization: Unit III: Computer Fundamentals : Tag: : Computer Fundamentals - Digital Principles and Computer Organization - Operation of the Computer Hardware
Digital Principles and Computer Organization
CS3351 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation