Thank You for the Question
5045 = This indicates that values of registers 4 and 5 are added as two's complements and the result is stored in Register 0. The result of Register 0 after this operation is :
00111010
+11001000
= 00000010 with overflow = 1
Hence, the hexadecimal result stored in Register 0 is 02
7045 = This indicates that values of registers 4 and 5 are added as two floating point values and the result stored in register 0. The value of Register 4 = 3A is 01.
8 RST AND the bit patterns in registers 4 and 5 and place the result in register R.
8045 would cause the result of ANDing the contents of registers 4 and 5 to be placed in register 0.
9 RST EXCLUSIVE OR the bit patterns in registers 4 and 5 and place the result in register.
#NOTE
This Question is solved point to point precisely and if any query please let me know in the comment section.
Get Answers For Free
Most questions answered within 1 hours.