We want to add register R2 and R5 and write result back in R3 - PowerPoint PPT Presentation

About This Presentation
Title:

We want to add register R2 and R5 and write result back in R3

Description:

Title: Min terms and logic expression Author: Arun K. Somani Last modified by: Arun K. Somani Created Date: 9/7/1999 1:53:08 PM Document presentation format – PowerPoint PPT presentation

Number of Views:15
Avg rating:3.0/5.0
Slides: 4
Provided by: Aru122
Category:
Tags: add | back | register | result | want | write

less

Transcript and Presenter's Notes

Title: We want to add register R2 and R5 and write result back in R3


1
Control sequence to add two registers
  • We want to add register R2 and R5 and write
    result back in R3
  • Set RA1010, RA2101, WA011, WR1, OpCode100,
    SC00, LDM0, EMR0, EALU1, EI0, WOUT0, WM0,
    RM0, EM0, WAD0

2
Control sequence to read memory into R3
  • We want to read a memory location into R3
  • Which memory location? Say address is in R2
  • Two steps, transfer R2 in Addr register in one
    cycle
  • Then read memory into R3 in the next cycle
  • Why cant we do in one cycle?

3
Control sequence to write memory into R3
  • Next we want to write contents of R3 in memory
    location whose address is in R2
  • Again we need two steps
  • Transfer R2 in Addr register in one cycle
  • Then write contents of R3 in the next cycle
  • Write control signals for two steps
Write a Comment
User Comments (0)
About PowerShow.com