Given below are the various fields of an SRC instruction-01695
This subjective question is related to the book/course
vu it430 E-Commerce.
It can also be found in
vu it430 Mid Term Solved Past Paper No. 1.
Question 1: Given below are the various fields of an SRC instruction register.
operation code field : op<4..0>
target register field : ra<4..0>
operand, address index, or branch target register : rb<4..0>
second operand, conditional test, or shift count register: rc<4..0>
Rewrite these various fields of an SRC instruction, using the RTL.
operation code field : op<4..0>
target register field : ra<4..0>
operand, address index, or branch target register : rb<4..0>
second operand, conditional test, or shift count register: rc<4..0>
Rewrite these various fields of an SRC instruction, using the RTL.
Answer:
- op<4..0>: = IR<31..27>; operation code field
- ra<4..0>: = IR<26..22>; target register field
- rb<4..0>: = IR<21..17>; operand, address index
- rc<4..0>: = IR<16..12>; second operand, conditional test