Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS501 Advance Computer Architecture assignment solution spring 2011
#1
[SIZE="3"][SIZE="3"][COLOR="red"]fill solution in attachment
[/COLOR][/SIZE][/SIZE]


Solution

Four types of instructions are supported by the SRC
Type A
Type A is used for only two instructions:

Number of instructions
Addressing mode

Two instructions

• No operation or nop
• Stop operation stop

Both of these instructions do not need an operand (are 0-operand instructions).

Type B
Number of instructions
Addressing mode
Type B format includes three instructions; all three use relative addressing mode
• ldr instruction, used to load register from memory using a relative address
• The lar instruction, for loading a register with relative address
• The str is used to store register to memory using relative address


The effective address is computed at run-time by adding a constant to the PC. This makes the instructions ‘re-locatable’.
Type C


Attached Files
.zip   CS501_1_Spring 2011_solution.zip (Size: 15.67 KB / Downloads: 243)
Reply
#2
yah bhi ah gai hai new assignment..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,322 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,908 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,928 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,165 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,242 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,967 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,664 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,800 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,701 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,799 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)