SlideShare a Scribd company logo
   Nadia Printa Tearani (A11.2010.05214)
   Nur Aji Eka Kharisma (A11.2010.05418)
      Derry Prima (A11.2010.05711)
   Operasi-operasi Dasar:
     Mengambil (fetching) Data dari
      Memori
     Menyimpan (storing) Data ke
      Memori
     Pertukaran Data Antar-Register
     Operasi Aritmatika & Logika di
      Datapath
Read          MFC

Instruksi:
                                                              Instruction
     LD R2,(R1)   ; R2   M[R1]             PC
                                                               Decoder
                                 Address
                                  lines
                                           MAR                      IR
Langkah-langkah:                 Data
                                 lines
1.   MAR R1                                MDR                      R1

2.   Read                                   Y
3.   Tunggu sinyal MFC                                              R2
     // MFC = Memory Function     Add
                                  Sub
     Completed                             ALU
     // Pada saat MFC aktif:      XOR
                                                 Carry-in
     // MDR M[MAR]
                                            Z                      TEMP
4.   R2     MDR
Write          MFC




Instruksi:                                 PC
                                                              Instruction
                                                               Decoder
     ST (R1),R2   ; M[R1]   R2   Address
                                  lines
                                           MAR                       IR

                                 Data

Langkah-langkah:                 lines
                                           MDR                       R1

1.   MAR R1                                 Y
2.   MDR R2, Write                                                   R2

3.   Tunggu sinyal MFC            Add
                                  Sub
     // MFC = Memory Function              ALU
     Completed                    XOR
                                                 Carry-in

     // Pada saat MFC aktif:                Z                       TEMP
     // M[MAR] MDR
R1in
                  Instruksi:
              X        MOV R4,R1        ; R4   R1
R1
              X

     R1out        Langkah-langkah:
                  1.   Enable output of R1
     R4in              // setting R1out to 1

              X   2.   Enable input of R4
R4                     // setting R4in to 1
              X

      R4out
Riin
                           X   Instruksi:
          Ri                        ADD R1,R2    ; R1   R1 + R2
                           X
                   Riout
                   Yin         Langkah-langkah:
                           X
          Y                    1.   R1out, Yin
                           X   2.   R2out, Add, Zin
                    Yout       3.   Zout, R1in
      A        B
          ALU

Add       X        Zin

           Z
                           X
                   Zout
Komponen-komponen Datapath:
     Register: tempat penyimpanan data
     ALU: tempat pemrosesan aritmatika & logika
     Bus: penghubung antar-register & antara register-ALU


Eksekusi Instruksi merupakan kombinasi
 pertukaran data antara:
   Register     Bus   Register
   Register     Bus   ALU
   Register     Bus   Memori


Pertukaran   data dilakukan dengan cara
 mengaktifkan gerbang-gerbang register dengan
 menggunakan sinyal-sinyal kendali
 (PCout, PCin, dst.)
Instruksi:
     Add            R1,(R3)         ; R1   R1 + M[R3]

Langkah-langkah:
1.   Fetch instruksi
     1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin
     2. Zout, PCin, WMFC
     3. MDRout, IRin

2.   Fetch operand #1 (isi lokasi memori yg ditunjuk oleh
     R3)
     4. R3out, MARin, Read
     5. R1out, Yin, WMFC

3.   Lakukan operasi penjumlahan
     6.   MDRout, Add, Zin
4.   Simpan hasil penjumlahan di R1
     7.   Zout, R1in, End
1.   PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin
2.   Zout, PCin, WMFC                              Control lines
3.   MDRout, IRin
                                                   Instruction
                        PC
                                                    Decoder
            Address
             lines
                       MAR                             IR

             Data
             lines
                       MDR                            R1


                      00000000
                         Y

                                                      R3
             Add

                                      1
                        ALU
                             PC+1 Carry-in
                         Z                           TEMP
4.   R3out, MARin, Read
5.   R1out, Yin, WMFC

                              Instruction
                    PC=PC+1
                               Decoder
          Address
           lines
                     MAR          IR

          Data
          lines
                     MDR         R1


                      Y

                                 R3


                      ALU


                       Z        TEMP
6.   MDRout, Add, Zin


                                              Instruction
                       PC=PC+1
                                               Decoder
            Address
             lines
                         MAR                      IR

             Data
             lines
                       MDR=M[R3]                 R1


                         Y=R1

                                                 R3
                 Add


                          ALU
                                   Carry-in

           Zin             Z                    TEMP
7.   Zout, R1in, End


                                    Instruction
                       PC=PC+1
                                     Decoder
            Address
             lines
                         MAR            IR

             Data
             lines
                       MDR=M[R3]       R1


                         Y=R1

                                       R3


                          ALU


                       Z=R1+M[R3]     TEMP
Unconditional (JMP Loop)
  1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin
  2. Zout, PCin, WMFC
  3. MDRout, IRin
  4. PCout, Yin
  5. Offset-field-of-IRout, Add, Zin      // PC PC + Offset
  6. Zout, PCin, End

Conditional (contoh: BRNeg Loop)
  1.   PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin
  2.   Zout, PCin, WMFC
  3.   MDRout, IRin
  4.   PCout, Yin , If N=0 then End         // take the branch?
  5.   Offset-field-of-IRout, Add, Zin      // PC PC + Offset
  6.   Zout, PCin, End
LD   Rd,X
Instruksi:
     LD R16,X               ; R16   M[X]

Langkah-langkah:
1.   Fetch instruksi
     1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin
     2. Zout, PCin, WMFC
     3. MDRout, IRin

2.   Fetch operand dari lokasi memori yang ditunjuk oleh
     X
     4. Xout, MARin, Read
     5. WMFC

3.   Lakukan operasi ALU
4.   Simpan hasil penjumlahan di R16
     6.   MDRout, R16in, End
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                                       Control lines
     ALU, Add, Zin
                                                                Read
2.   Zout, PCin, WMFC
                                                                       Instruction
3.   MDRout, IRin                            PC
                                                                        Decoder
4.   Xout, MARin, Read            Address
                                    lines
                                           PCout
                                            MAR                             IR
5.   WMFC
                                          MARin
6.   MDRout, R16in, End            Data
                                   lines
                                             MDR                            X

                                  Clear Y
                                            00000000
                                               Y

                                                                           R16
                                    Add

                                                         1
                                              ALU
                                                        Set
                                                PC+1 Carry-in
                                               Z                          TEMP
                                             Zin
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                      Control lines
     ALU, Add, Zin
                                                                      WMFC
2.   Zout, PCin, WMFC
                                                      Instruction
3.   MDRout, IRin                            PC
                                                       Decoder
4.   Xout, MARin, Read            Address
                                    lines
                                            PCin
                                            MAR            IR
5.   WMFC
6.   MDRout, R16in, End            Data
                                   lines
                                            MDR            X


                                              Y

                                                          R16


                                             ALU


                                           Z = PC+1      TEMP
                                            Zout
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                    Control lines
     ALU, Add, Zin
2.   Zout, PCin, WMFC
                                                    Instruction
3.   MDRout, IRin                           PC+1
                                                     Decoder
4.   Xout, MARin, Read            Address
                                    lines
                                            MAR          IR
5.   WMFC
6.   MDRout, R16in, End            Data
                                   lines
                                                       IRin
                                            MDR          X
                                           MDRout
                                              Y

                                                        R16


                                             ALU


                                              Z        TEMP
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                           Control lines
     ALU, Add, Zin
                                                    Read
2.   Zout, PCin, WMFC
                                                           Instruction
3.   MDRout, IRin                           PC+1
                                                            Decoder
4.   Xout, MARin, Read            Address
                                    lines
                                            MAR                   IR
5.   WMFC
6.   MDRout, R16in, End            Data
                                   lines
                                          MARin
                                            MDR                    X

                                                           Xout
                                             Y

                                                                  R16


                                            ALU


                                             Z                TEMP
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                    Control lines
     ALU, Add, Zin
                                                                    WMFC
2.   Zout, PCin, WMFC
                                                    Instruction
3.   MDRout, IRin                           PC+1
                                                     Decoder
4.   Xout, MARin, Read             Address
                                     lines
                                            MAR          IR
5.   WMFC
6.   MDRout, R16in, End           Data
                                  lines
                                            MDR          X


                                             Y

                                                        R16


                                            ALU


                                             Z         TEMP
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                    Control lines
     ALU, Add, Zin
2.   Zout, PCin, WMFC
                                                    Instruction
3.   MDRout, IRin                           PC+1
                                                     Decoder
4.   Xout, MARin, Read            Address
                                    lines
                                            MAR          IR
5.   WMFC
6.   MDRout, R16in, End            Data
                                   lines
                                            MDR          X
                                           MDRout
                                              Y

                                                        R16

                                                      R16in

                                             ALU


                                              Z        TEMP
ADD Rd,Rs
Instruksi:
     ADD            R16,R17         ; R16   R16 + R17

Langkah-langkah:
1.   Fetch instruksi
     1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin
     2. Zout, PCin, WMFC
     3. MDRout, IRin

2.   Fetch operand ke-1 (R16)
     4.   R16out, Yin
3.   Fetch operand ke-2 (R17) dan Lakukan operasi ALU
     5.   R17out, Add, Zin
4.   Simpan hasil penjumlahan di R16
     6.   Zout, R16in, End
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                                       Control lines
     ALU, Add, Zin
                                                                Read
2.   Zout, PCin, WMFC
                                                                       Instruction
3.   MDRout, IRin                            PC
                                                                        Decoder
4.   R16out, Yin                  Address
                                    lines
                                           PCout
                                            MAR                             IR
5.   R17out, Add, Zin
                                          MARin
6.   Zout, R16in, End              Data
                                   lines
                                             MDR                           R17

                                  Clear Y
                                            00000000
                                               Y

                                                                           R16
                                    Add

                                                         1
                                              ALU
                                                        Set
                                                PC+1 Carry-in
                                               Z                          TEMP
                                             Zin
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                      Control lines
     ALU, Add, Zin
                                                                      WMFC
2.   Zout, PCin, WMFC
                                                      Instruction
3.   MDRout, IRin                            PC
                                                       Decoder
4.   R16out, Yin                  Address
                                    lines
                                            PCin
                                            MAR            IR
5.   R17out, Add, Zin
6.   Zout, R16in, End              Data
                                   lines
                                            MDR           R17


                                              Y

                                                          R16


                                             ALU


                                           Z = PC+1      TEMP
                                            Zout
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                    Control lines
     ALU, Add, Zin
2.   Zout, PCin, WMFC
                                                    Instruction
3.   MDRout, IRin                           PC+1
                                                     Decoder
4.   R16out, Yin                  Address
                                    lines
                                            MAR          IR
5.   R17out, Add, Zin
6.   Zout, R16in, End              Data
                                   lines
                                                       IRin
                                            MDR         R17
                                           MDRout
                                              Y

                                                        R16


                                             ALU


                                              Z        TEMP
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                    Control lines
     ALU, Add, Zin
2.   Zout, PCin, WMFC
                                                    Instruction
3.   MDRout, IRin                           PC+1
                                                     Decoder
4.   R16out, Yin                  Address
                                    lines
                                            MAR          IR
5.   R17out, Add, Zin
6.   Zout, R16in, End              Data
                                   lines
                                            MDR         R17


                                     Yin     Y

                                                        R16

                                                     R16out

                                            ALU


                                             Z         TEMP
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                    Control lines
     ALU, Add, Zin
2.   Zout, PCin, WMFC
                                                    Instruction
3.   MDRout, IRin                           PC+1
                                                     Decoder
4.   R16out, Yin                   Address
                                     lines
                                            MAR          IR
5.   R17out, Add, Zin
6.   Zout, R16in, End             Data
                                  lines
                                            MDR         R17

                                                    R17out
                                            Y=R16

                                                        R16

                                    Add
                                             ALU


                                      Zin     Z        TEMP
1.   PCout, MARin, Read, Clear Y, Set carry-in to
                                                        Control lines
     ALU, Add, Zin
2.   Zout, PCin, WMFC
                                                        Instruction
3.   MDRout, IRin                           PC+1
                                                         Decoder
4.   R16out, Yin                  Address
                                    lines
                                            MAR              IR
5.   R17out, Add, Zin
6.   Zout, R16in, End              Data
                                   lines
                                              MDR           R17


                                             Y=R16

                                                            R16

                                                          R16out

                                              ALU


                                     Zout   Z=R16+R17      TEMP
Peningkatan Kinerja Prosesor
A   B                              C
            Instruction
             Decoder


                    IR

                   PC

                 Register
                   File

                  TEMP
                     ALU




                  MDR                  Add R1,R2,R3 ;R1 R2+R3

                  MAR

         Data            Address
         lines           lines

        Memory Bus
Instruction
PC
       Decoder


MAR       IR


MDR      R1

         R2
 Y

         R3


ALU
                    Add R1,R2,R3 ;R1 R2+R3
 Z      TEMP

More Related Content

What's hot

ARM Architecture Instruction Set
ARM Architecture Instruction SetARM Architecture Instruction Set
ARM Architecture Instruction Set
Dwight Sabio
 
True Differential S-Parameter Measurements
True Differential S-Parameter MeasurementsTrue Differential S-Parameter Measurements
True Differential S-Parameter Measurements
Rohde & Schwarz North America
 
Arm assembly language programming
Arm assembly language programmingArm assembly language programming
Arm assembly language programming
v Kalairajan
 
Concept Kit:PWM Boost Converter Transients Model
Concept Kit:PWM Boost Converter Transients ModelConcept Kit:PWM Boost Converter Transients Model
Concept Kit:PWM Boost Converter Transients Model
Tsuyoshi Horigome
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
justus_pm
 
Microcontroller instruction set
Microcontroller instruction setMicrocontroller instruction set
Microcontroller instruction set
Shail Modi
 
2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecturesatish1jisatishji
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
Mathivanan Natarajan
 
Communicationlabmanual
CommunicationlabmanualCommunicationlabmanual
Communicationlabmanualjkanth26
 
Concept Kit:PWM Boost Converter Average Model
Concept Kit:PWM Boost Converter Average ModelConcept Kit:PWM Boost Converter Average Model
Concept Kit:PWM Boost Converter Average Model
Tsuyoshi Horigome
 
COMMUNICATION ENGINEERING ASSIGNMENT(INSTITUTE ELECTIVE-1) SEM-4 SVMIT
COMMUNICATION ENGINEERING ASSIGNMENT(INSTITUTE ELECTIVE-1) SEM-4 SVMITCOMMUNICATION ENGINEERING ASSIGNMENT(INSTITUTE ELECTIVE-1) SEM-4 SVMIT
COMMUNICATION ENGINEERING ASSIGNMENT(INSTITUTE ELECTIVE-1) SEM-4 SVMITVishal Soni
 
Developing an FTTx Ecosystem
Developing an FTTx EcosystemDeveloping an FTTx Ecosystem
Developing an FTTx Ecosystem
IEEE Standards Association (IEEE SA)
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
SARITHA REDDY
 

What's hot (20)

74 f08
74 f0874 f08
74 f08
 
ARM Architecture Instruction Set
ARM Architecture Instruction SetARM Architecture Instruction Set
ARM Architecture Instruction Set
 
Arm chap 3 last
Arm chap 3 lastArm chap 3 last
Arm chap 3 last
 
True Differential S-Parameter Measurements
True Differential S-Parameter MeasurementsTrue Differential S-Parameter Measurements
True Differential S-Parameter Measurements
 
Arm assembly language programming
Arm assembly language programmingArm assembly language programming
Arm assembly language programming
 
Concept Kit:PWM Boost Converter Transients Model
Concept Kit:PWM Boost Converter Transients ModelConcept Kit:PWM Boost Converter Transients Model
Concept Kit:PWM Boost Converter Transients Model
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
Microcontroller instruction set
Microcontroller instruction setMicrocontroller instruction set
Microcontroller instruction set
 
2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecture
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
Communicationlabmanual
CommunicationlabmanualCommunicationlabmanual
Communicationlabmanual
 
Arm
ArmArm
Arm
 
Concept Kit:PWM Boost Converter Average Model
Concept Kit:PWM Boost Converter Average ModelConcept Kit:PWM Boost Converter Average Model
Concept Kit:PWM Boost Converter Average Model
 
Lect02
Lect02Lect02
Lect02
 
COMMUNICATION ENGINEERING ASSIGNMENT(INSTITUTE ELECTIVE-1) SEM-4 SVMIT
COMMUNICATION ENGINEERING ASSIGNMENT(INSTITUTE ELECTIVE-1) SEM-4 SVMITCOMMUNICATION ENGINEERING ASSIGNMENT(INSTITUTE ELECTIVE-1) SEM-4 SVMIT
COMMUNICATION ENGINEERING ASSIGNMENT(INSTITUTE ELECTIVE-1) SEM-4 SVMIT
 
Developing an FTTx Ecosystem
Developing an FTTx EcosystemDeveloping an FTTx Ecosystem
Developing an FTTx Ecosystem
 
Arm Lecture
Arm LectureArm Lecture
Arm Lecture
 
Arm
ArmArm
Arm
 
mup
mupmup
mup
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 

Viewers also liked

Yr 8 nha trang camping email
Yr 8 nha trang camping emailYr 8 nha trang camping email
Yr 8 nha trang camping emailEd
 
Evaluation
EvaluationEvaluation
EvaluationAdella1
 
Albury regional museum conference web 2.0
Albury regional museum conference web 2.0Albury regional museum conference web 2.0
Albury regional museum conference web 2.0
Museum Wagga
 
2014.04.23 candidati insieme per coccaglio
2014.04.23 candidati insieme per coccaglio2014.04.23 candidati insieme per coccaglio
2014.04.23 candidati insieme per coccaglio
Filippo Filippini
 
A Network of Information - Nigel Doust, CEO
A Network of Information - Nigel Doust, CEOA Network of Information - Nigel Doust, CEO
A Network of Information - Nigel Doust, CEO
Blackbay
 
Images I Took For School Magazine
Images I Took For School MagazineImages I Took For School Magazine
Images I Took For School Magazinebenjichandra
 
Study guide year 8
Study guide year 8Study guide year 8
Study guide year 8Ed
 
T3 Renaissance
T3 RenaissanceT3 Renaissance
T3 RenaissanceJ Luque
 
Nervous and endocrine system
Nervous and endocrine systemNervous and endocrine system
Nervous and endocrine systemsherrymariani
 
Music magazine evaluation
Music magazine evaluationMusic magazine evaluation
Music magazine evaluationbenjichandra
 
Get in the Game with Delivery Connect
Get in the Game with Delivery ConnectGet in the Game with Delivery Connect
Get in the Game with Delivery ConnectBlackbay
 
Storyboards final
Storyboards finalStoryboards final
Storyboards finalAdella1
 
Garantint el continum assistencial
Garantint el continum assistencialGarantint el continum assistencial
Garantint el continum assistencial
Institut Català de la Salut
 
School Magazine Evaluation
School Magazine EvaluationSchool Magazine Evaluation
School Magazine Evaluationbenjichandra
 
We ride and HomeTown Glory
We ride and HomeTown GloryWe ride and HomeTown Glory
We ride and HomeTown GloryAdella1
 
Digital and Social Media in the Delivery World
Digital and Social Media in the Delivery WorldDigital and Social Media in the Delivery World
Digital and Social Media in the Delivery World
Blackbay
 

Viewers also liked (20)

Yr 8 nha trang camping email
Yr 8 nha trang camping emailYr 8 nha trang camping email
Yr 8 nha trang camping email
 
Evaluation
EvaluationEvaluation
Evaluation
 
Albury regional museum conference web 2.0
Albury regional museum conference web 2.0Albury regional museum conference web 2.0
Albury regional museum conference web 2.0
 
Equipment used
Equipment usedEquipment used
Equipment used
 
2014.04.23 candidati insieme per coccaglio
2014.04.23 candidati insieme per coccaglio2014.04.23 candidati insieme per coccaglio
2014.04.23 candidati insieme per coccaglio
 
A Network of Information - Nigel Doust, CEO
A Network of Information - Nigel Doust, CEOA Network of Information - Nigel Doust, CEO
A Network of Information - Nigel Doust, CEO
 
Images I Took For School Magazine
Images I Took For School MagazineImages I Took For School Magazine
Images I Took For School Magazine
 
Study guide year 8
Study guide year 8Study guide year 8
Study guide year 8
 
T3 Renaissance
T3 RenaissanceT3 Renaissance
T3 Renaissance
 
Nervous and endocrine system
Nervous and endocrine systemNervous and endocrine system
Nervous and endocrine system
 
Music magazine evaluation
Music magazine evaluationMusic magazine evaluation
Music magazine evaluation
 
Get in the Game with Delivery Connect
Get in the Game with Delivery ConnectGet in the Game with Delivery Connect
Get in the Game with Delivery Connect
 
Дмитрий Тинитилов. "Tusovki.od.ua"
Дмитрий Тинитилов. "Tusovki.od.ua"Дмитрий Тинитилов. "Tusovki.od.ua"
Дмитрий Тинитилов. "Tusovki.od.ua"
 
Storyboards final
Storyboards finalStoryboards final
Storyboards final
 
Garantint el continum assistencial
Garantint el continum assistencialGarantint el continum assistencial
Garantint el continum assistencial
 
Freud notes
Freud notesFreud notes
Freud notes
 
School Magazine Evaluation
School Magazine EvaluationSchool Magazine Evaluation
School Magazine Evaluation
 
We ride and HomeTown Glory
We ride and HomeTown GloryWe ride and HomeTown Glory
We ride and HomeTown Glory
 
Digital and Social Media in the Delivery World
Digital and Social Media in the Delivery WorldDigital and Social Media in the Delivery World
Digital and Social Media in the Delivery World
 
Memorable meal
Memorable mealMemorable meal
Memorable meal
 

Similar to Operasi dasar prosesor

Unit 3 basic processing unit
Unit 3   basic processing unitUnit 3   basic processing unit
Unit 3 basic processing unitchidabdu
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
Basic Processing Unit
Basic Processing UnitBasic Processing Unit
Basic Processing UnitSlideshare
 
Microprocessors and microcontrollers
Microprocessors and microcontrollers Microprocessors and microcontrollers
Microprocessors and microcontrollers durga_sekar
 
Dtmf control robot manual
Dtmf control robot manualDtmf control robot manual
Dtmf control robot manual
Total Project Solutions
 
Chapter3 presentation2
Chapter3 presentation2Chapter3 presentation2
Chapter3 presentation2surendar88
 
Computer architecture register transfer languages rtl
Computer architecture register transfer languages rtlComputer architecture register transfer languages rtl
Computer architecture register transfer languages rtl
Mazin Alwaaly
 
ARM instruction set
ARM instruction  setARM instruction  set
ARM instruction set
Karthik Vivek
 
We discussed how the processor routes data between internal components.docx
We discussed how the processor routes data between internal components.docxWe discussed how the processor routes data between internal components.docx
We discussed how the processor routes data between internal components.docx
mtruman1
 
Lec2.ppt
Lec2.pptLec2.ppt
Lec2.ppt
fgjf1
 
ARM instruction set
ARM instruction  setARM instruction  set
ARM instruction set
Karthik Vivek
 
Basic computer organization design
Basic computer organization designBasic computer organization design
Basic computer organization design
ndasharath
 
ADF4113 Frequency Synthesizer 驅動程式實作
ADF4113 Frequency Synthesizer 驅動程式實作ADF4113 Frequency Synthesizer 驅動程式實作
ADF4113 Frequency Synthesizer 驅動程式實作
Simen Li
 
Wideband Complex Modulation Analysis Using a Real-Time Digital Demodulator
Wideband Complex Modulation Analysis Using a Real-Time Digital DemodulatorWideband Complex Modulation Analysis Using a Real-Time Digital Demodulator
Wideband Complex Modulation Analysis Using a Real-Time Digital Demodulator
Rohde & Schwarz North America
 
optimization c code on blackfin
optimization c code on blackfinoptimization c code on blackfin
optimization c code on blackfin
Pantech ProLabs India Pvt Ltd
 
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdfBCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
ciyamala kushbu
 
Code generation
Code generationCode generation
Code generation
Aparna Nayak
 

Similar to Operasi dasar prosesor (20)

Unit 3 basic processing unit
Unit 3   basic processing unitUnit 3   basic processing unit
Unit 3 basic processing unit
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
Basic Processing Unit
Basic Processing UnitBasic Processing Unit
Basic Processing Unit
 
Microprocessors and microcontrollers
Microprocessors and microcontrollers Microprocessors and microcontrollers
Microprocessors and microcontrollers
 
Dtmf control robot manual
Dtmf control robot manualDtmf control robot manual
Dtmf control robot manual
 
Chapter3 presentation2
Chapter3 presentation2Chapter3 presentation2
Chapter3 presentation2
 
Computer architecture register transfer languages rtl
Computer architecture register transfer languages rtlComputer architecture register transfer languages rtl
Computer architecture register transfer languages rtl
 
ARM instruction set
ARM instruction  setARM instruction  set
ARM instruction set
 
Computer design
Computer designComputer design
Computer design
 
We discussed how the processor routes data between internal components.docx
We discussed how the processor routes data between internal components.docxWe discussed how the processor routes data between internal components.docx
We discussed how the processor routes data between internal components.docx
 
Lec2.ppt
Lec2.pptLec2.ppt
Lec2.ppt
 
Arduino Labs
Arduino LabsArduino Labs
Arduino Labs
 
ARM instruction set
ARM instruction  setARM instruction  set
ARM instruction set
 
Basic computer organization design
Basic computer organization designBasic computer organization design
Basic computer organization design
 
ADF4113 Frequency Synthesizer 驅動程式實作
ADF4113 Frequency Synthesizer 驅動程式實作ADF4113 Frequency Synthesizer 驅動程式實作
ADF4113 Frequency Synthesizer 驅動程式實作
 
Cpu report
Cpu reportCpu report
Cpu report
 
Wideband Complex Modulation Analysis Using a Real-Time Digital Demodulator
Wideband Complex Modulation Analysis Using a Real-Time Digital DemodulatorWideband Complex Modulation Analysis Using a Real-Time Digital Demodulator
Wideband Complex Modulation Analysis Using a Real-Time Digital Demodulator
 
optimization c code on blackfin
optimization c code on blackfinoptimization c code on blackfin
optimization c code on blackfin
 
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdfBCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
 
Code generation
Code generationCode generation
Code generation
 

Recently uploaded

Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
bosssp10
 
Training my puppy and implementation in this story
Training my puppy and implementation in this storyTraining my puppy and implementation in this story
Training my puppy and implementation in this story
WilliamRodrigues148
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
JeremyPeirce1
 
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
my Pandit
 
The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
balatucanapplelovely
 
Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
techboxsqauremedia
 
Agency Managed Advisory Board As a Solution To Career Path Defining Business ...
Agency Managed Advisory Board As a Solution To Career Path Defining Business ...Agency Managed Advisory Board As a Solution To Career Path Defining Business ...
Agency Managed Advisory Board As a Solution To Career Path Defining Business ...
Boris Ziegler
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
tanyjahb
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
Nicola Wreford-Howard
 
BeMetals Investor Presentation_June 1, 2024.pdf
BeMetals Investor Presentation_June 1, 2024.pdfBeMetals Investor Presentation_June 1, 2024.pdf
BeMetals Investor Presentation_June 1, 2024.pdf
DerekIwanaka1
 
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s DholeraTata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Avirahi City Dholera
 
buy old yahoo accounts buy yahoo accounts
buy old yahoo accounts buy yahoo accountsbuy old yahoo accounts buy yahoo accounts
buy old yahoo accounts buy yahoo accounts
Susan Laney
 
Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024
Top Forex Brokers Review
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
marketing317746
 
Building Your Employer Brand with Social Media
Building Your Employer Brand with Social MediaBuilding Your Employer Brand with Social Media
Building Your Employer Brand with Social Media
LuanWise
 
How to Implement a Real Estate CRM Software
How to Implement a Real Estate CRM SoftwareHow to Implement a Real Estate CRM Software
How to Implement a Real Estate CRM Software
SalesTown
 
Authentically Social Presented by Corey Perlman
Authentically Social Presented by Corey PerlmanAuthentically Social Presented by Corey Perlman
Authentically Social Presented by Corey Perlman
Corey Perlman, Social Media Speaker and Consultant
 
An introduction to the cryptocurrency investment platform Binance Savings.
An introduction to the cryptocurrency investment platform Binance Savings.An introduction to the cryptocurrency investment platform Binance Savings.
An introduction to the cryptocurrency investment platform Binance Savings.
Any kyc Account
 
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
taqyed
 
The 10 Most Influential Leaders Guiding Corporate Evolution, 2024.pdf
The 10 Most Influential Leaders Guiding Corporate Evolution, 2024.pdfThe 10 Most Influential Leaders Guiding Corporate Evolution, 2024.pdf
The 10 Most Influential Leaders Guiding Corporate Evolution, 2024.pdf
thesiliconleaders
 

Recently uploaded (20)

Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
 
Training my puppy and implementation in this story
Training my puppy and implementation in this storyTraining my puppy and implementation in this story
Training my puppy and implementation in this story
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
 
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
 
The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
 
Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
 
Agency Managed Advisory Board As a Solution To Career Path Defining Business ...
Agency Managed Advisory Board As a Solution To Career Path Defining Business ...Agency Managed Advisory Board As a Solution To Career Path Defining Business ...
Agency Managed Advisory Board As a Solution To Career Path Defining Business ...
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
 
BeMetals Investor Presentation_June 1, 2024.pdf
BeMetals Investor Presentation_June 1, 2024.pdfBeMetals Investor Presentation_June 1, 2024.pdf
BeMetals Investor Presentation_June 1, 2024.pdf
 
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s DholeraTata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
 
buy old yahoo accounts buy yahoo accounts
buy old yahoo accounts buy yahoo accountsbuy old yahoo accounts buy yahoo accounts
buy old yahoo accounts buy yahoo accounts
 
Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
 
Building Your Employer Brand with Social Media
Building Your Employer Brand with Social MediaBuilding Your Employer Brand with Social Media
Building Your Employer Brand with Social Media
 
How to Implement a Real Estate CRM Software
How to Implement a Real Estate CRM SoftwareHow to Implement a Real Estate CRM Software
How to Implement a Real Estate CRM Software
 
Authentically Social Presented by Corey Perlman
Authentically Social Presented by Corey PerlmanAuthentically Social Presented by Corey Perlman
Authentically Social Presented by Corey Perlman
 
An introduction to the cryptocurrency investment platform Binance Savings.
An introduction to the cryptocurrency investment platform Binance Savings.An introduction to the cryptocurrency investment platform Binance Savings.
An introduction to the cryptocurrency investment platform Binance Savings.
 
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
一比一原版加拿大渥太华大学毕业证(uottawa毕业证书)如何办理
 
The 10 Most Influential Leaders Guiding Corporate Evolution, 2024.pdf
The 10 Most Influential Leaders Guiding Corporate Evolution, 2024.pdfThe 10 Most Influential Leaders Guiding Corporate Evolution, 2024.pdf
The 10 Most Influential Leaders Guiding Corporate Evolution, 2024.pdf
 

Operasi dasar prosesor

  • 1. Nadia Printa Tearani (A11.2010.05214)  Nur Aji Eka Kharisma (A11.2010.05418)  Derry Prima (A11.2010.05711)
  • 2. Operasi-operasi Dasar:  Mengambil (fetching) Data dari Memori  Menyimpan (storing) Data ke Memori  Pertukaran Data Antar-Register  Operasi Aritmatika & Logika di Datapath
  • 3. Read MFC Instruksi: Instruction LD R2,(R1) ; R2 M[R1] PC Decoder Address lines MAR IR Langkah-langkah: Data lines 1. MAR R1 MDR R1 2. Read Y 3. Tunggu sinyal MFC R2 // MFC = Memory Function Add Sub Completed ALU // Pada saat MFC aktif: XOR Carry-in // MDR M[MAR] Z TEMP 4. R2 MDR
  • 4. Write MFC Instruksi: PC Instruction Decoder ST (R1),R2 ; M[R1] R2 Address lines MAR IR Data Langkah-langkah: lines MDR R1 1. MAR R1 Y 2. MDR R2, Write R2 3. Tunggu sinyal MFC Add Sub // MFC = Memory Function ALU Completed XOR Carry-in // Pada saat MFC aktif: Z TEMP // M[MAR] MDR
  • 5. R1in Instruksi: X MOV R4,R1 ; R4 R1 R1 X R1out Langkah-langkah: 1. Enable output of R1 R4in // setting R1out to 1 X 2. Enable input of R4 R4 // setting R4in to 1 X R4out
  • 6. Riin X Instruksi: Ri ADD R1,R2 ; R1 R1 + R2 X Riout Yin Langkah-langkah: X Y 1. R1out, Yin X 2. R2out, Add, Zin Yout 3. Zout, R1in A B ALU Add X Zin Z X Zout
  • 7. Komponen-komponen Datapath:  Register: tempat penyimpanan data  ALU: tempat pemrosesan aritmatika & logika  Bus: penghubung antar-register & antara register-ALU Eksekusi Instruksi merupakan kombinasi pertukaran data antara:  Register Bus Register  Register Bus ALU  Register Bus Memori Pertukaran data dilakukan dengan cara mengaktifkan gerbang-gerbang register dengan menggunakan sinyal-sinyal kendali (PCout, PCin, dst.)
  • 8.
  • 9. Instruksi: Add R1,(R3) ; R1 R1 + M[R3] Langkah-langkah: 1. Fetch instruksi 1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin 2. Zout, PCin, WMFC 3. MDRout, IRin 2. Fetch operand #1 (isi lokasi memori yg ditunjuk oleh R3) 4. R3out, MARin, Read 5. R1out, Yin, WMFC 3. Lakukan operasi penjumlahan 6. MDRout, Add, Zin 4. Simpan hasil penjumlahan di R1 7. Zout, R1in, End
  • 10. 1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin 2. Zout, PCin, WMFC Control lines 3. MDRout, IRin Instruction PC Decoder Address lines MAR IR Data lines MDR R1 00000000 Y R3 Add 1 ALU PC+1 Carry-in Z TEMP
  • 11. 4. R3out, MARin, Read 5. R1out, Yin, WMFC Instruction PC=PC+1 Decoder Address lines MAR IR Data lines MDR R1 Y R3 ALU Z TEMP
  • 12. 6. MDRout, Add, Zin Instruction PC=PC+1 Decoder Address lines MAR IR Data lines MDR=M[R3] R1 Y=R1 R3 Add ALU Carry-in Zin Z TEMP
  • 13. 7. Zout, R1in, End Instruction PC=PC+1 Decoder Address lines MAR IR Data lines MDR=M[R3] R1 Y=R1 R3 ALU Z=R1+M[R3] TEMP
  • 14. Unconditional (JMP Loop) 1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin 2. Zout, PCin, WMFC 3. MDRout, IRin 4. PCout, Yin 5. Offset-field-of-IRout, Add, Zin // PC PC + Offset 6. Zout, PCin, End Conditional (contoh: BRNeg Loop) 1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin 2. Zout, PCin, WMFC 3. MDRout, IRin 4. PCout, Yin , If N=0 then End // take the branch? 5. Offset-field-of-IRout, Add, Zin // PC PC + Offset 6. Zout, PCin, End
  • 15. LD Rd,X
  • 16. Instruksi: LD R16,X ; R16 M[X] Langkah-langkah: 1. Fetch instruksi 1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin 2. Zout, PCin, WMFC 3. MDRout, IRin 2. Fetch operand dari lokasi memori yang ditunjuk oleh X 4. Xout, MARin, Read 5. WMFC 3. Lakukan operasi ALU 4. Simpan hasil penjumlahan di R16 6. MDRout, R16in, End
  • 17. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin Read 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC Decoder 4. Xout, MARin, Read Address lines PCout MAR IR 5. WMFC MARin 6. MDRout, R16in, End Data lines MDR X Clear Y 00000000 Y R16 Add 1 ALU Set PC+1 Carry-in Z TEMP Zin
  • 18. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin WMFC 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC Decoder 4. Xout, MARin, Read Address lines PCin MAR IR 5. WMFC 6. MDRout, R16in, End Data lines MDR X Y R16 ALU Z = PC+1 TEMP Zout
  • 19. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC+1 Decoder 4. Xout, MARin, Read Address lines MAR IR 5. WMFC 6. MDRout, R16in, End Data lines IRin MDR X MDRout Y R16 ALU Z TEMP
  • 20. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin Read 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC+1 Decoder 4. Xout, MARin, Read Address lines MAR IR 5. WMFC 6. MDRout, R16in, End Data lines MARin MDR X Xout Y R16 ALU Z TEMP
  • 21. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin WMFC 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC+1 Decoder 4. Xout, MARin, Read Address lines MAR IR 5. WMFC 6. MDRout, R16in, End Data lines MDR X Y R16 ALU Z TEMP
  • 22. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC+1 Decoder 4. Xout, MARin, Read Address lines MAR IR 5. WMFC 6. MDRout, R16in, End Data lines MDR X MDRout Y R16 R16in ALU Z TEMP
  • 24. Instruksi: ADD R16,R17 ; R16 R16 + R17 Langkah-langkah: 1. Fetch instruksi 1. PCout, MARin, Read, Clear Y, Set carry-in to ALU, Add, Zin 2. Zout, PCin, WMFC 3. MDRout, IRin 2. Fetch operand ke-1 (R16) 4. R16out, Yin 3. Fetch operand ke-2 (R17) dan Lakukan operasi ALU 5. R17out, Add, Zin 4. Simpan hasil penjumlahan di R16 6. Zout, R16in, End
  • 25. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin Read 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC Decoder 4. R16out, Yin Address lines PCout MAR IR 5. R17out, Add, Zin MARin 6. Zout, R16in, End Data lines MDR R17 Clear Y 00000000 Y R16 Add 1 ALU Set PC+1 Carry-in Z TEMP Zin
  • 26. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin WMFC 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC Decoder 4. R16out, Yin Address lines PCin MAR IR 5. R17out, Add, Zin 6. Zout, R16in, End Data lines MDR R17 Y R16 ALU Z = PC+1 TEMP Zout
  • 27. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC+1 Decoder 4. R16out, Yin Address lines MAR IR 5. R17out, Add, Zin 6. Zout, R16in, End Data lines IRin MDR R17 MDRout Y R16 ALU Z TEMP
  • 28. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC+1 Decoder 4. R16out, Yin Address lines MAR IR 5. R17out, Add, Zin 6. Zout, R16in, End Data lines MDR R17 Yin Y R16 R16out ALU Z TEMP
  • 29. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC+1 Decoder 4. R16out, Yin Address lines MAR IR 5. R17out, Add, Zin 6. Zout, R16in, End Data lines MDR R17 R17out Y=R16 R16 Add ALU Zin Z TEMP
  • 30. 1. PCout, MARin, Read, Clear Y, Set carry-in to Control lines ALU, Add, Zin 2. Zout, PCin, WMFC Instruction 3. MDRout, IRin PC+1 Decoder 4. R16out, Yin Address lines MAR IR 5. R17out, Add, Zin 6. Zout, R16in, End Data lines MDR R17 Y=R16 R16 R16out ALU Zout Z=R16+R17 TEMP
  • 32. A B C Instruction Decoder IR PC Register File TEMP ALU MDR Add R1,R2,R3 ;R1 R2+R3 MAR Data Address lines lines Memory Bus
  • 33. Instruction PC Decoder MAR IR MDR R1 R2 Y R3 ALU Add R1,R2,R3 ;R1 R2+R3 Z TEMP