in CO and Architecture recategorized by
4,703 views
22 votes
22 votes
State True or False with one line explanation

Expanding opcode instruction formats are commonly employed in RISC. (Reduced Instruction Set Computers) machines.
in CO and Architecture recategorized by
4.7k views

2 Answers

47 votes
47 votes
Best answer

I think the answer is TRUE.

RISC systems use fixed length instruction to simplify pipeline.

eg: MIPS, PowerPC: Instructions are $4$ bytes long.

CISC systems use Variable-length instructions.

eg: Intel $80X86$: Instructions vary from $1$ to $17$ bytes long.

Now the challenge is: How to fit multiple sets of instruction types into same (limited) number of bits (Fixed size instruction)?

Here comes Expanding opcode into the picture. 

RISC systems commonly uses Expanding opcode technique to have fixed size instructions. 

edited by

4 Comments

@bikram sir Please tell a good source to read Expanding Opcodes and their numericals?
0
0
2
2

this is true for more conformation look in below given link.

https://www.youtube.com/watch?v=YGnJyipLKrM&list=PL2F82ECDF8BB71B0C&index=9

from 25 minute. 

0
0

In risc, there are much fewer instructions than cisc. So, the number of bits needed is much less. Also, fixed length opcode simplifies the design, so one wouldn’t use expanding opcode unless necessary. The mips architecture encoding given in Computer organization and design – hennesey patterson uses fixed length opcode.

 

0
0
9 votes
9 votes

This expanding opcode scheme makes the decoding more complex. Instead of simply looking at a bit pattern and deciding which instruction it is, we need to decode the instruction something like this: 

if (leftmost four bits != 1111 ) {
 Execute appropriate three-address instruction}
else if (leftmost seven bits != 1111 111 ) {
 Execute appropriate two-address instruction}
else if (leftmost twelve bits != 1111 1111 1111 ) {
 Execute appropriate one-address instruction }
else {
 Execute appropriate zero-address instruction
} 

At each stage, one spare code is used to indicate that we should now look at more bits. This is another example of the types of trade-offs hardware designers continually face: Here, we trade opcode space for operand space. 

Ref: http://www.fatih.edu.tr/~emanetn/courses/spring2006/ceng252/ceng252_lecture3.pdf or archive

Being more complex and RISC not needing more instructions expanding opcode is not a common RISC technique. But this is there in many RISC machines. 

edited by
by

3 Comments

@arjun sir and @bikram sir

choose best answer right one.
0
0

hem chandra joshi  

Best answer is chosen already , it is true not always false .

Many RISC machines use expanding opcode technique.

see what question says " Expanding opcode instruction formats are commonly employed in RISC."

this is true , even Arjun said that in last line .

0
0
link not working
1
1
Answer:

Related questions