1- The following figure shows the format of one of the assembly instructions in a processor.

opcode: instruction code
RS: Source Register
RD: Destination Register
Immediate: Signed Immediate Number
a. Write and HLS function that receives an instruction of this format and returns the opcode.
b. Write and HLS function that receives an instruction of this format and returns the RS (Source Register).
c. Write and HLS function that receives an instruction of this format and returns the signed immediate number.
2- Using the shift operator, design a combinational circuit in HLS that receives a 23-bit number and returns its multiplication by 8.
3- Design a combinational circuit in HLS that receives a 14-bit number and returns the even-parity of its even bits.