Question: nt a = - 4 8 ; int b = 6 3 ; int c = - 4 1 ; int d = a +

nt a =-48;
int b =63;
int c =-41;
int d = a + b + c -19= a + b + c +(-19);
here is an example with other numbers :int d = a + b + c; 2F1B 3FAO 2F2F 3FBO 2FFB 3FCO 1AA01BB01CCO 5DAB 5DDC 3DD0 C000
pls run it through Brookshear Emulator and also here is some key info
Op-Code Operand Description
1 RXY LOAD the register R with the bit pattern found in the memory cell whose address is XY
2 RXY LOAD the register R with the bit pattern XY
3 RXY STORE the bit pattern found in register R in the memory cell whose address is XY
40RS MOVE the bit pattern found in register R to register S
5 RST ADD the bit patterns in registers S and T as though they were two's complement representations and leave the result in register R R = S + T
6 RST ADD the bit patterns in registers S and T as though they represented values in floating point notation and leave the floating point result in register R
7 RST OR the bit patterns in registers S and T and place the result in register R
8 RST AND the bit patterns in registers S and T and place the result in register R
9 RST EXCLUSIVE OR the bit patterns in registers S and T and place the result in register R
A R0X ROTATE the bit pattern in register R one bit to the right X times. Each time the low order bit is placed at the high order end.
B RXY JUMP to the instruction located in the memory cell at address XY if the bit pattern in register R is equal to the bit pattern in register 0. Otherwise, continue with the normal sequence of execution.
C 000 HALT execution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!