Part a) Consider architecture A that has the addressing modes below for the ADD instruction. Based on
the ADD instruction, is this architecture better be encoded as a fixed-length instruction or a variablelength
instruction. Give numerical examples to support your answer.
ADD ,
ADD , <16-bit constant>
ADD ,
Part b) The architecture B below supports only these modes for the ADD instruction. Based on the ADD
instruction, is this architecture better be encoded as with fixed-length instructions or variable-length
instructions. Give numerical examples to support your answer.
ADD , ,
ADD , , <12-bit constant>