Tuesday, April 11, 2017

1.3.2 Computer architecture and the fetch-execute cycle


SHOW UNDERSTANDING OF THE BASIC VON NEUMANN MODEL FOR A COMPUTER SYSTEM AND THE STORED PROGRAM CONCEPT (PROGRAM INSTRUCTIONS AND DATA ARE STORED IN MAIN MEMORY AND INSTRUCTIONS ARE FETCHED AND EXECUTED ONE AFTER ANOTHER)
THE SIMPLE EXPLANATION IS, THAT DATA IS FETCHED IN THE CPU, MEANING THAT DATA IS TRANSFERRED INTO THE CPU FOR PROCESSING, THEN DECODED, WHICH IS WHEN THE CPU INTERPRETS THE DATA THAT IT HAD FETCHED AND MAKES IT READABLE FOR THE CPU. FINALLY THE EXECUTE CYCLE IS WHEN THE DATA WHICH IS FETCHED AND DECODED IS THEN EXECUTED, SO THE DATAS INSTRUCTIONS ARE CARRIED OUT IN THIS STAGE.


DESCRIBE THE STAGES OF THE FETCH-EXECUTE CYCLE, INCLUDING THE USE OF REGISTERS
THE STEPS/PROCEDURE IS THE FOLLOWING:
FETCH
1. CONTENTS OF PC TRANSFERRED TO MAR VIA THE ADDRESS BUS
2. CONTENTS OF MEMORY AT THE LOCATION IN THE MAR TRANSFERRED TO MDR 3. CONTENTS OF MDR TRANSFERRED TO CIR

DECODE
1. CONTENTS OF CIR ARE DECODED BY THE CONTROL UNIT 2. CONTROL UNIT INCREMENTS THE PC BY ONE
EXECUTE
1. MEMORY ADDRESS TRANSFERRED TO MAR
2. D
ATA IN MAR LOCATION IS SENT TO MDR (AND PROBABLY TO THE ACCUMULATOR) 3. INSTRUCTION EXECUTE

0 coment�rios:

Post a Comment