Write, in binary, the instruction that will
carry out the calculation 46 x 75.
Answers
Answer:
3450
Explanation:
46×75=(50-4)×(50+25)
=(50)^2+(25-4)50-4×25
= 2500+ 21×50-100
=2500+1050-100
=3550-100
=3450
(x-a)(x+b)=x^2+bx-ax-ab
=x^2+(b-a)x-ab
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
EXAMPLES of some valid instructions on the processor:
Instruction Effect
0001001001100100101 93 + 25
10110000101 Complement 85
0110010010100000101 25 / 05