1. (a) A hypothetical simple computer has the
following opoodes in its instruction set, each
of which takes two operands that are given
in the next 2 bytes :
00 Add (op1 + op2)
01 Subtract (opl - op2)
10 Multiply (op1 x op2)
11 Divide (opl + op2)
Write, in binary, the instruction that will
carry out the calculation 46 x 75.
RCS.011
Answers
Answered by
0
Answer:
10010000110011110
Explanation:
Given :
00 Add (op1 + op2)
01 Subtract (opt — op2)
10 Multiply (op 1 x op2)
11 Divide (opl op2)
Considering the example given
For Multiplication the OPCODE is 10
So, we can write it in binary form as:
x op1 op2
46 75
10 01000110 01110101
Similar questions