Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS501 Advance Computer Architecture GDB Fall 2019 Solution & Discussion

Views: 354

Replies to This Discussion

Share the GDB Question & Discuss Here.... 

  1. Fixed length instructions vs Variable length instructions.
  2. Large cache blocks vs small cache blocks.
  3. Simple instruction set vs complex instruction set.

Give your comments with proper justification for selecting each of the given characteristics.

 

  1. Fixed length instructions vs Variable length instructions.

Fixed length instructions:-
1.All the records in the file are of same size.
2. Leads to memory wastage.
3. Access of the records is easier and faster.
4. Exact location of the records can be determined: location of ith record would be.n*(i-1), where n is the size of every record.


Variable length instructios:-
1.Different records in the file have different sizes.
2. Memory efficient.
3. Access of the records is slower.

 

  1. Large cache blocks vs small cache blocks.

 

The "largest" block size case is best for repeated, in-order memory accesses (best for spacial locality) and worst for repeated, random memory accesses (worst for temporal locality).

The "smallest" block size case is worst for repeated, in-order memory accesses (worst for spacial locality) and best for repeated, random memory accesses (best for temporal locality). It is good for out-of-order memory accesses, depending on the size of the working set

 

 

 

  1. Simple instruction set vs complex instruction set

 

 

Characteristic of Simple instruction set:

The simple instruction set provides commands to the processor, to tell it what it needs to do. The instruction set consists of addressing modes, instructions, native data types, registers, memory architecture, interrupt, and exception handling, and external I/O.

Characteristic of Complex instruction set:

  1. Complex instruction, hence complex instruction decoding.
  2. Instruction are larger than one word size.
  3. Instruction may take more than single clock cycle to get executed.
  4. Less number of general purpose register as operation get performed in memory itself.
  5. Complex Addressing Modes.
  6. More Data types.

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service