1,557 views
0 0 votes

1 Answer

Best answer
1 1 vote

Size of instruction = 24 bit.

Size of register = 32 bit

No.of instructions = 49

Instruction contain opcode, R1, R2, Immediate operand

Bits for opcode= 6 bit (For representing 49)

Bits for R1 = 5 bit (For representing 32)

Bits for R2 = 5 bit (For representing 32)

Bits left for Immediate operand = 24-(6+5+5) = 8 bit 

It is given immediate operand is signed integer( by default 2's complement)

Range of 2's complement in 8 bit = -128 to 127 (Minimum is 128)

Hence -128 is the answer.

• selected by
Position:
Show:

Related questions

0 0 votes
1 1 answer
1.1k
1.1k views
Ronak Khemchandani asked Jan 24, 2017
1,076 views
https://gateoverflow.in/?qa=blob&qa_blobid=11818269066433190011
0 0 votes
0 0 answers
590
590 views
pream sagar asked Jan 25, 2019
590 views
The process state transition diagram of an operating system is as given below: Which of the following statement is correct?A)Round-Robin scheduling algorithm is used in t...
0 0 votes
0 0 answers
1.4k
1.4k views
pream sagar asked Jan 23, 2019
1,370 views
0 0 votes
0 0 answers
1.4k
1.4k views
pream sagar asked Jan 23, 2019
1,441 views
Consider the system which has virtual address of 36 bits and physical address of 30 bits and page size of 8KB, page table entry contain 1 valid bit, 2 protection bit and ...