this is the output
instruction:0 11001100 101110
after extension:0 11111100 111111101110
result:111111011110
result in decimal=-34
opcode is the arithmetic operation:1 for addition and 0 for subtraction.operand 1 and operand 2 is any 12 bits two compliment integer in binary format.
1 bit | 12bits |12 bits
opcode| operand1 |operand2
hope got anyone here can solve this...