• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
presentation on timing diagram
 

presentation on timing diagram

on

  • 3,392 views

this presentation will tell you about opcode fetch ,memory read &memory write

this presentation will tell you about opcode fetch ,memory read &memory write

Statistics

Views

Total Views
3,392
Views on SlideShare
3,392
Embed Views
0

Actions

Likes
1
Downloads
132
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    presentation on timing diagram presentation on timing diagram Presentation Transcript

    •  
      • An instruction is a command given to the computer to perform a specified operation on a given data.
      • To perform a particular task a programmer writes a sequence of instructions called a program.
      • The CPU fetches one instruction from the memory at a time and execute it . It executes all the instructions of a program one by one to produce to the final result .
      • Instruction cycle consist of fetch and execute cycle.
      • In fetch cycle a CPU fetches opcode from the memory.
      • Specific operation in an instruction constitute an execute cycle.
      • IC=FC+EC
    • T3 T1 T2 T2 T1 T4 T3 Instruction Cycle Opcode Fetch Execute
      • The necessary steps carried out to perform the operation of accessing either memory or I/O device, constitute a machine cycle.
      • Necessary steps carried out to perform a fetch, a read or write operation constitute a machine cycle.
      • One basic operation such as opcode fetch, memory read, memory write ,I/O read , or I/O write.
      • Instruction cycle consist of several machine cycle.
      • One subdivision of an operation performed in one clock cycle is called a state or T-state.
      • The subdivisions are internal states synchronized with the system clock .
      • So one clock cycle of the system is referred to as a state.
    • M1 M2 Next instruction cycle T3 T1 T2 T2 T1 T4 T3 Instruction Cycle Opcode Fetch Execute
      • The necessary steps which are carried out in a machine cycle can be represented graphically . Such a representation is called timing diagram .
      • Timing diagram:
        • Opcode fetch
        • Memory read
        • Memory write
        • I/O Read
        • I/O write
      • In a fetch cycle the microprocessor fetches the opcode of an instruction from the memory
    • T1 T2 T3 T4
      • In a memory read cycle the microprocessor reads the content of a memory location.
      • The content is then placed either in the accumulator or any other register of the CPU.
    •  
      • In a memory write cycle the CPU sends data from the accumulator or any other register to the memory.
    •  
    •