Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
38 views
9 pages
793purl Computer-Organization TYS
Uploaded by
Vivek Ranjan
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save 793purl_Computer-Organization_TYS For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
38 views
9 pages
793purl Computer-Organization TYS
Uploaded by
Vivek Ranjan
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save 793purl_Computer-Organization_TYS For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save 793purl_Computer-Organization_TYS For Later
You are on page 1
/ 9
Search
Fullscreen
workbook 2023 a Detailed Explanations of Try Yourself Questions Electronics Engineering Computer Organization bs Ges) MADE ERSYMachine Instructions and Addressing Modes Detalled Explanation of Try Yourself Questions (16383) © 6 6 Opcade | Rs | Re | immedita — 2 —-s 82-(6 +6 +6) = 14 bits for immediate field 2°41 = 16383 maximum possible value of immediate operand Panera) (d) wif our | peo Qe o18E © " 100 ‘Stack Just before CALL instruction execution, SP contains 016E While CALL execution: (PC contents are pushed ie., SP incremented by 2 SP = 0170 (a) PSW contents are pushed ie., SP incremented by 2 SP = 0172 The value of stack pointer is (0172), “wwwmadeeasypublications.org MADE EASY ‘© Copyright )MADE EASY Detailed Explanations of Try Yourself Questions : GATE 2023 3 ry (ce) EA = PC + Address field value EA = 38248 + (12) = 38236 a are (b) Number of registers = 128 Number of bits = log 128 =7 Opcode | Register| index adcress| bis bis 7+20bEs In indexing addressing mode effective memory location is stored in register. So Index Address bit = Register bit + Address bit = 7420=27 +7427 = n+34is length of the instruction. Poe cay (ec) The given instruction is stored in 16 bits fegister. The first byte (lower byte) of the instruction store at the memory location 4002 and second byte (higher byte) stored at 4003, When we use litte-endian mechanism the lower byte of the instrunction is copied into lower byte of the register and higher byte of the instruction is copied into higher byte of the register. Higher byte_[ TFC OAH) denotes that the number fs in Hexa decimal form Conte ema me — Lower byte When we use big endian mechanism the lower byte of the instruction is copied into higher byte of the register and higher byte of the instruetion is copied into lower byte of register. ‘OAFCH Poe cay (500) 4 ——______, ‘opcode [ Reg | Reg | Reg |12bit immediate aut iStCiSSC 2 One instruction size = 34 bit = 5 bytes 100 instruction occupies 500 bytes. a © Copyright MADE EASY ‘wwrn.madeeasypublications.org4 Electronics Engineering © Computer Organization & Architecture MFIDE ERSY (b) Average of time = {(0.2 x 0) + (0.2 x 0) + (0.2 x 4) + (0.1 x8) + (0.17 x6) + (0.13 x 6)) =3.4 cycles 1 Clock eycletime = ;GHz= ins So, average of ime = 3.4 cycles x 1ns = 3.4ns J operand 3.4ns Number of operands in 1 soc Number ofoperands = 12284 9 20411 x 10° r lumber of operands = SPSS x 10° operandisee Operand fetch rate = 294.11 million words/sec iy (a) * Indirect addressing — Passing array as parameter. © Indexed addressing — Array implementation, * Base register addressing — Writing relocatable code. ‘wowwmadeeasypublications.org MADE EASY ‘© CopyrightALU, data-path and Control Unit Detalled Explanation f Try Yourself Questions Perey (a) Average CPI = Z{IC x CPI) cycle time: (45000 1) + (82000 x 2) + (15000 x 2) + (8000 x 2) Totaal IG = otaalic “45000 +-32000 + 15000 +8000 = 1.85 cycles Cycle time SOC = 0.0125 psec 1 S0MHZ Average instruction ET = (1.55 x 0.0125) = 0.019975 usec instruction = 0.019376 usec Number of instructions int sec Number finstructions = ———— x 108 inst./se = 1.61 MIPS (c) In the given u-program we have used the register MAR, MBR and Instruction Register (IR). IRisused only during fetching of the instruction. Hence operation is instruction fetching, Pees (b) Configurations for CPU in decreasing order of operating speeds: Hardwired control > Horizontal micro- programming > Vertical micro-programming (slowest because it involves decoding). © Copyright MADE EASY www madeeasypublications.org )6 Electronics Engineering © Computer Organization & Architecture MFIDE ERSY (10) Atmost 2 control signals are active, that means for one signals minimum log (2) bits required i.e. § For 2 control signals = § x 2 = 10 bits required. ~ | wermadeeasypublications org MADE EASY ‘© CopyrightInstruction Pipelining Detalled Explanation of Try Yourself Questions a (4) Pipe depth Speed uelS) = 77 ¥siallsjinsiruction) Number of stalisfinstruction = 0.75 x0 +025 x 2=05 Pane tcay (c) Clock eycle times Maximum of stage delays. For P14; clock cycle time = Maximum is 2 For P2; clock eycle time = Maximum is 1.5 For P3: clock cycle time = Maximum is 1 For P4: clock oycle time = Maximum is 1.1 Minimum clock cycle time gives the high clock rate, Minimum of (2, 1.5, 1, 1.1) = 4 P3 has peak clock cyole rate © Copyright MADE EASY wwwmadeeasypublications.org8 Electronics Engineering © Computer Organization & Architecture MFIDE ERSY (3.2) Non-pipelined processor: For ninstructions execution time = (nx 4) /2.6 = 1.6 nanoseconds Pipelined processor: For n instructions execution time = n/2 = 0.5 n nanoseconds. Speedup = 16n/05n=32 (e) Ss 5 [a s[a[a[4 So total 1Sinstruction are executed. K = 4:n=18,t,=4ne ET = (Ken-1 +h, = (44 13-1) 4ns = 64s ec,] 66; 60, [cos] eo, | 0, 6c, | co, | 66, [6c] te | 1D | oF | aril ex | ma | we 4 iF | [aw | oF | ex | nea | we hf iF [ar | 10 | oF | ex | ma | we Poe cay (33.28) Pj: 4-stage f, = Max (stage delay) 800 ps 1 instruction — 800 ps ‘7 number of instruction —1 sec TPalthroughput) = 1250 instruction/sec P, stage 4, = 600ps 1 instruction — 600 ps 7 number of instruction — 1 sec TPpx(thvoughput) = 1666 instruction’sec ‘wowwmadeeasypublications.org MADE EASY ‘© CopyrightMADE EASY Detailed Explanations of Try Yourself Questions : GATE 2023 9 1250 — 100% (old) (1666 - 1250) — ? (New) 416 AIS. = osaze > 7280 ie, 33.28% (4) Given that, 3 stage pipeline with stage latencies 5 oe, = 32, Ste ye ae Tih = 94g: =8:3 Ratio of t,: t,: 18 6r, Bx, Sx respectively, So, largest stage time Br. 1 $0, caleulate frequency = > quency = = a = sane Bx = 1 ~ 2aehe () Now, largest stage latency dlivide into 2 half parts i.e., 8x divide into 4x and 4x. So, 4 pipeline with stage latencies are x, 4x, 4x, 3x. Now, largest stage lime = Gr So, calculate new frequency 1 =4GHz O|R P= 1 te 2 =24GHe ttomea. 1] . (copyright MADE EASY vemmadeeaspubtonsorg
You might also like
CS1601 Computer Architecture
PDF
100% (1)
CS1601 Computer Architecture
389 pages
Arch2 Microarchitecture Design Afterlecture
PDF
No ratings yet
Arch2 Microarchitecture Design Afterlecture
222 pages
Question 1 (50 Points) Pipelining
PDF
No ratings yet
Question 1 (50 Points) Pipelining
3 pages
Lecture 13
PDF
No ratings yet
Lecture 13
114 pages
Week6 Performance Numericals
PDF
No ratings yet
Week6 Performance Numericals
38 pages
3-Pipelining 241110 203716
PDF
No ratings yet
3-Pipelining 241110 203716
59 pages
Computer Organization: Ahmed Hashim
PDF
No ratings yet
Computer Organization: Ahmed Hashim
48 pages
Instruction Tables
PDF
No ratings yet
Instruction Tables
323 pages
Topic #3 - CPU - With Notations
PDF
No ratings yet
Topic #3 - CPU - With Notations
39 pages
Giub 20223 62 17427 2024-06-18T10 47 08
PDF
No ratings yet
Giub 20223 62 17427 2024-06-18T10 47 08
32 pages
1001purl COA TYS
PDF
No ratings yet
1001purl COA TYS
22 pages
1001purl COA TYS-2026
PDF
No ratings yet
1001purl COA TYS-2026
19 pages
MPMC Digital Assignment 1
PDF
No ratings yet
MPMC Digital Assignment 1
13 pages
Chapter 12 Performance of Single-Cycle and Multi-Cycle Data Path
PDF
No ratings yet
Chapter 12 Performance of Single-Cycle and Multi-Cycle Data Path
27 pages
Lecture 3: Performance/Power, MIPS Instructions
PDF
No ratings yet
Lecture 3: Performance/Power, MIPS Instructions
18 pages
SV Instruction Set
PDF
No ratings yet
SV Instruction Set
63 pages
HW 3
PDF
No ratings yet
HW 3
9 pages
Lec 7 CSE-509 Pipelining
PDF
No ratings yet
Lec 7 CSE-509 Pipelining
27 pages
FALLSEM2024-25 CSI3021 TH VL2024250101951 2024-07-19 Reference-Material-I
PDF
No ratings yet
FALLSEM2024-25 CSI3021 TH VL2024250101951 2024-07-19 Reference-Material-I
21 pages
Lecture10 - Chapter4-P2
PDF
No ratings yet
Lecture10 - Chapter4-P2
46 pages
Lecture 12
PDF
No ratings yet
Lecture 12
34 pages
Sheet2 - Solution (Design)
PDF
No ratings yet
Sheet2 - Solution (Design)
6 pages
Sheet7 Solution
PDF
No ratings yet
Sheet7 Solution
11 pages
Answer:: Remark
PDF
No ratings yet
Answer:: Remark
72 pages
Chapter4 2
PDF
No ratings yet
Chapter4 2
34 pages
Akash
PDF
No ratings yet
Akash
74 pages
Assignment 1 Muhammad Hassan Saleem
PDF
No ratings yet
Assignment 1 Muhammad Hassan Saleem
3 pages
Pipelining
PDF
No ratings yet
Pipelining
24 pages
CSCE 5610 Computer System Architecture: Instruction Level Parallelism
PDF
No ratings yet
CSCE 5610 Computer System Architecture: Instruction Level Parallelism
11 pages
Multipath 1 Notes
PDF
No ratings yet
Multipath 1 Notes
37 pages
Arch3 Pipelining Afterlecture
PDF
No ratings yet
Arch3 Pipelining Afterlecture
180 pages
Single-Cycle Processors: Datapath & Control: Computer Science & Artificial Intelligence Lab M.I.T
PDF
No ratings yet
Single-Cycle Processors: Datapath & Control: Computer Science & Artificial Intelligence Lab M.I.T
34 pages
Single-Cycle Processors: Datapath & Control: Computer Science & Artificial Intelligence Lab M.I.T
PDF
No ratings yet
Single-Cycle Processors: Datapath & Control: Computer Science & Artificial Intelligence Lab M.I.T
34 pages
What Is The Most Boring Household Activity?
PDF
No ratings yet
What Is The Most Boring Household Activity?
27 pages
Single Cycle Processor Design: Computer Architecture and Assembly Language
PDF
No ratings yet
Single Cycle Processor Design: Computer Architecture and Assembly Language
24 pages
Chapter 4
PDF
No ratings yet
Chapter 4
34 pages
CompEng 361 Final Review Problems - Solutions
PDF
No ratings yet
CompEng 361 Final Review Problems - Solutions
6 pages
5 Singlecycle
PDF
No ratings yet
5 Singlecycle
60 pages
CS M151B / EE M116C: Computer Systems Architecture
PDF
No ratings yet
CS M151B / EE M116C: Computer Systems Architecture
38 pages
EE (CE) 6304 Computer Architecture Lecture #2 (8/28/13)
PDF
No ratings yet
EE (CE) 6304 Computer Architecture Lecture #2 (8/28/13)
35 pages
Single Cycle Vs Multi Cycle Cpu
PDF
No ratings yet
Single Cycle Vs Multi Cycle Cpu
11 pages
Ca Mid1 2017
PDF
No ratings yet
Ca Mid1 2017
9 pages
Ejercicios 2
PDF
No ratings yet
Ejercicios 2
13 pages
ECE4680 Computer Organization and Architecture Designing A Multiple Cycle Processor
PDF
No ratings yet
ECE4680 Computer Organization and Architecture Designing A Multiple Cycle Processor
19 pages
Today - Finish Single-Cycle Datapath/control Path - Look at Its Performance and How To Improve It
PDF
No ratings yet
Today - Finish Single-Cycle Datapath/control Path - Look at Its Performance and How To Improve It
28 pages
Problem #1: and M Is Address of A Memory Location
PDF
No ratings yet
Problem #1: and M Is Address of A Memory Location
1 page
Homework Set 4: Class CPI On P1 CPI On P2
PDF
No ratings yet
Homework Set 4: Class CPI On P1 CPI On P2
2 pages
The Final Datapath: Add M U X
PDF
No ratings yet
The Final Datapath: Add M U X
32 pages
Advanced Computer Architecture: BY Dr. Radwa M. Tawfeek
PDF
No ratings yet
Advanced Computer Architecture: BY Dr. Radwa M. Tawfeek
50 pages
Comparch 04
PDF
No ratings yet
Comparch 04
73 pages
MPMC Aakash
PDF
No ratings yet
MPMC Aakash
18 pages
Midterm Solutions Mar 30
PDF
No ratings yet
Midterm Solutions Mar 30
6 pages
Lecture 4 8405 Computer Architecture
PDF
No ratings yet
Lecture 4 8405 Computer Architecture
15 pages
Homework 1
PDF
No ratings yet
Homework 1
11 pages
Tutorial Module 4
PDF
No ratings yet
Tutorial Module 4
9 pages
Solution Chapter 1
PDF
91% (22)
Solution Chapter 1
2 pages
802purl SS TYS 2023
PDF
No ratings yet
802purl SS TYS 2023
18 pages
806purl Computer-Networks TYS
PDF
No ratings yet
806purl Computer-Networks TYS
17 pages
769purl HMT TYS 2023
PDF
No ratings yet
769purl HMT TYS 2023
18 pages
1029purl Mass-Transfer TYS CH
PDF
No ratings yet
1029purl Mass-Transfer TYS CH
12 pages
803purl Algorithms TYS
PDF
No ratings yet
803purl Algorithms TYS
10 pages
805purl Compiler-Design TYS
PDF
No ratings yet
805purl Compiler-Design TYS
6 pages
772purl Power-Plant TYS 2023
PDF
No ratings yet
772purl Power-Plant TYS 2023
13 pages
773purl Production TYS 2023
PDF
No ratings yet
773purl Production TYS 2023
12 pages