576 views
0 votes
0 votes

1 Answer

Best answer
1 votes
1 votes

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

Related questions

0 votes
0 votes
1 answer
1
Ronak Khemchandani asked Jan 24, 2017
568 views
https://gateoverflow.in/?qa=blob&qa_blobid=11818269066433190011
0 votes
0 votes
0 answers
3
pream sagar asked Jan 23, 2019
500 views
0 votes
0 votes
0 answers
4
pream sagar asked Jan 23, 2019
625 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 ...