Computer Learning

All About Computer And Technology

  • Home
  • Python Programming
    • How To Find Maximum And Minimum Value On Python Programming Language
    • Creating Tuple, List, and Dictionary on Python Programming Language
    • Learning about Input value using Python easily
    • Creating Function on Python Programming Language
    • Read More >>
  • Komputer
    • Program Execution (Organization and Architecture Computer)
    • Microcontroller of Von Neumann vs Havard and CISC vs RISC
    • Definition and Function of Control Unit
  • Blog Tutorial
    • How to Make Table of Content with Sroll in Blogspot
    • How to make Claim or Get Verification Our Blogs to Alexa
  • Tips dan Trik
    • How To Solve Red Cross In Blackberry
    • How to Restore Deleted File in Smartphone Memory Using Recuva
    • Selengkanya >>
  • Contact Me
Home » Komputer » Program Execution (Organization and Architecture Computer)

Program Execution (Organization and Architecture Computer)

Joni
2 Comments
Komputer
Sunday, October 5, 2014




How to read this figure below ? 

Notes  :
  1. Program Counter (PC) = Address of Instruction 
  2. Instruction Register (IR) = Instruction being Executed 
  3. Accumulator (AC) = Temporary Storage


Steps :

  1. First, PC contains 300 where it is gotten from first address instruction that given from memory. As figure above, the value of this instruction is 1940 (hexadecimal). This instruction with hexadecimal form (1940), is loaded into IR and the PC is incremented.
  2. Second, after IR contains 1940, this case indicates AC need to be loaded by value which has address 940. Why the address should be 940 ? Why not other address, for example 572, 563,450, and so on ?
    AC will indicate the hexadecimal of IR (1940), AC will load 3 last digits of the IR hexadecimal, it is 940 (1940). And than AC will take the value of  address 940, it is 0003.
  3. Third, the next instruction (5941) is fetched from address 301. This step is almost same with first step, so the hexadecimal of address 301 will be loaded into IR and the PC is incremented.
  4. Fourth, this step is the old AC value will be added by new AC value. The new AC value will be taken from address 941, it is 0002. The old AC value (0003) will be added by the new AC value (0002), so the result is 0005.
    Why AC is added ? Because AC is only temporary storage so that the value will be added until the program execution finished.
  5. Fifth, the next instruction (2941) is fetched from address 302. The hexadecimal of address 302 (it is 2941) will be loaded into IR and the PC is incremented.
  6. Sixth, AC will be unchanged because it is end of the program execution. The last step is moving the value of AC to memory address 941.



Tweet
Program Execution (Organization and Architecture Computer) Title : Program Execution (Organization and Architecture Computer)
Description : How to read this figure below ?  Notes  : Program Counter (PC) = Address of Instruction  Instruction Register (IR) = Ins...
Rating : 5

2 Responses to "Program Execution (Organization and Architecture Computer)"

Stevanus Chandra Blogs said...

Salam kenal broo ehhehehehe coll and nice post :D i think this is a programing admin? :v

October 28, 2014 at 2:53 PM
Joni said...

I have changed my domain about programming in www.pemrograman-sederhana.blogspot.com

November 8, 2014 at 7:55 AM

Post a Comment

← Newer Post Older Post → Home
Subscribe to: Post Comments (Atom)

Popular Post

  • Program Execution (Organization and Architecture Computer)
    How to read this figure below ?  Notes  : Program Counter (PC) = Address of Instruction  Instruction Register (IR) = Ins...
  • How to Write Matematics Formulas on Python Programming Language
    Good night all programmers?  As my writing before about Learning if, for, and while function on Python Programming Language, I wil...
  • Microcontroller of Von Neumann vs Havard and CISC vs RISC
    Microcontroller of Von Neumann vs Havard and CISC vs RISC | pemprograman | komputer | bahasa python Microcontroll...
  • How to Use If, For, and While on Python Programming Language
    Welcome back to my page guys !    I’m happy to meet you again my friends because you all are the next generation on this country. We ...
  • How To Find Maximum And Minimum Value On Python Programming Language
    On my writing before, you have learned about tuple, list, and dictionary. You have to truly understand the topics before continuing to nex...
  • Contact Me On
    Contact Me on : e-mail : joni67676@gmail.com Facebook : John Twitter : @simplechilds Google + : Jhon Gu...
  • Creating Tuple, List, and Dictionary on Python Programming Language
    We have learned about Creating Function on Python Programming Language on my writing before. Now, we have to know how to collect a sequenc...
  • Definition and Function of Control Unit
    Definition and Function of Control Unit | pemprograman | komputer | bahasa python Control unit control CPU opera...

Label Cloud

  • Blog Tutorial
  • Komputer
  • Python Programming Language
  • Tips Trick

Blog

  • ▼  2014 (15)
    • November 2014 (1)
    • October 2014 (1)
    • September 2014 (3)
    • August 2014 (3)
    • July 2014 (7)

Followers

Mengenai Saya

Joni
View my complete profile
Back to top!
Copyright 2013 Computer Learning - All Rights Reserved Design by Mas Sugeng - Powered by Blogger