The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x

Test Series [closed]

0 votes
81 views
Consider a processor uses 2 byte instruction format. Processor has 32 Registers and supports upto 2-Address instructions.

If processor supports 128 1 Address instructions then number of 2-Address Instructions are?
closed as a duplicate of: Co doubt
in CO and Architecture by (235 points)
closed by | 81 views
0
Answer = 60
+1
Let no. of 2-address instructions be x.

Then no. of 1 address instructions is (2^6-x)*2^5 and that is given as 128.

So, (64-x)*32=128 => 64-x = 4 => x=60
+1

Ok...so can be solved like an equation:

216 = 27 * 25 + x * 210

x= 60

Related questions

+1 vote
1 answer
3
asked Jan 13, 2018 in CO and Architecture by vishal chugh Active (1.7k points) | 80 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,093 questions
55,333 answers
190,852 comments
86,257 users