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.

CS704 Advanced Computer Architecture-II Assignment No 01 Spring 2019 Solution & Discussion Due Date: 24-05-2019

CS704 Advanced Computer Architecture-II Assignment No 01 Spring 2019 Solution & Discussion Due Date: 24-05-2019

Question 1: Total Points (20)

Consider the following four different styles of instruction set architectures:

 

  1. Accumulator—All operations occur between a single register and a memory location.
  2. Memory-memory—All instruction addresses reference only memory locations.
  3. Stack—All operations occur on top of the stack. Push and pop are the only instructions that access memory; all others remove their operands from the stack and replace them with the result. The implementation uses a hardwired stack for only the top two stack entries, which keeps the processor circuit very small and low cost. Additional stack positions are kept in memory locations, and accesses to these stack positions require memory references.
  4. Load-store—All operations occur in registers, and register-to-register instructions have three register names per instruction.

 

Invent your own assembly language mnemonics (Following Figure provides a useful sample to generalize), and for each architecture, write the best equivalent assembly language code for this high-level language code sequence:

A = B – C;

B = A – C;

D = A + B;

 

[Assumption: The variables A, B, C and D are initially in memory]

 

Question 2: Total Points (10)

Read the research paper titled “LLVA: A Low-level Virtual Instruction Set Architecture”, and answer the following question in your own words:

 

What is the basic idea of LLVA and how it is better than previous virtual architectures (DAISY and Transmeta’s Crusoe)?

 

 

Question 3: Total Points (5+5+10= 20)

Read the research paper titled “Model Checking to Find Vulnerabilities in an Instruction Set Architecture”, and answer the following questions in your own words.

  1. What is SYSRET vulnerability?
  2. Why does it exist in Intel x64 ISA, but not in AMD64 ISA?
  3. How the proposed model-checking based approach detects SYSRET or similar vulnerabilities in an ISA?

Views: 199

Attachments:

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

 

“How to Join Subject Study Groups & Get Helping Material”

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

 

Share below link with friends for solution & Discussion. A Single link for help in your education.

http://bit.ly/vucodes

any one complete the assignment ????

Plz share the solution of Q No 1

RSS

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

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