bobby18121
05-20-2008, 12:36 PM
ok there are so many different answers and information around that i got lost then i found this website with a post of a similar title though it was dead i think so i join to ask about this subject again. I am revising for a computer tech exam and there is this question that bothers me lol (actually its more than just one).
First:
Q1
LDA, &10; //Load accumulator contects of memory location 10
ADDA, 5; //ADD the literal value 5 to the contents of accumulator
OUTA; //Output the contents of the accumulator
(a) List the steps required for the above low-level language program segment to be executed on a Von Neumann machine. Your answer should discuss:
(i) HOw each instruction is fetched and executed, and the computer elements used.
(ii) The clock cycle in which each operation is performed.
(b) The above code would run more efficiently on a Harvard Architecture.
(i) What are the differences in the hardvard Architecture that improves its overall efficiency?
(ii) Show how using a Harvard Architecture would improve the efficiency of execution of the above instructions.
(iii) Estimate the performance improvement achieved.
(iv) State if any of the above instructions would not benefit from eing executed on a Harvard Architecture and justify your answer.
I would like the fetch execute cycle to be laid out like the folowing :
Clock 1: fetch instruction .......
Clock 2: fetch operand ......
Clock 3: Execute ......
Thanks for reading this long post.
First:
Q1
LDA, &10; //Load accumulator contects of memory location 10
ADDA, 5; //ADD the literal value 5 to the contents of accumulator
OUTA; //Output the contents of the accumulator
(a) List the steps required for the above low-level language program segment to be executed on a Von Neumann machine. Your answer should discuss:
(i) HOw each instruction is fetched and executed, and the computer elements used.
(ii) The clock cycle in which each operation is performed.
(b) The above code would run more efficiently on a Harvard Architecture.
(i) What are the differences in the hardvard Architecture that improves its overall efficiency?
(ii) Show how using a Harvard Architecture would improve the efficiency of execution of the above instructions.
(iii) Estimate the performance improvement achieved.
(iv) State if any of the above instructions would not benefit from eing executed on a Harvard Architecture and justify your answer.
I would like the fetch execute cycle to be laid out like the folowing :
Clock 1: fetch instruction .......
Clock 2: fetch operand ......
Clock 3: Execute ......
Thanks for reading this long post.