Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1080349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:00:59+00:00 2026-05-16T22:00:59+00:00

Now , My doubt has changed to exact point after some long discussion in

  • 0

Now ,
My doubt has changed to exact point after some long discussion in this thread with dwelch.

“If you are wondering how the processor gets ready to execute the first instruction. its the way the logic is designed” HOW THE LOGIC IS DESIGNED? Can you give me more idea on this? Is there any document give me more details? Is the algorithm behind all architecture are same?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:01:00+00:00Added an answer on May 16, 2026 at 10:01 pm

    “If you are wondering how the processor
    gets ready to execute the first
    instruction. its the way the logic is
    designed” – HOW THE LOGIC IS DESIGNED?
    Can you give me more idea on this? Is
    there any document give me more
    details? Is the algorithm behind all
    architecture are same?

    conceptually, the Program Counter (PC) may be thought of as having an increment logic that is tied to the instuction cycle. it may be thought of as the following logic that is executed at the end of each instruction cycle.

    if (RESET)         //reset pin input is asserted
        PC = 0x0000;   // or any other predetermined value
    else
        PC = PC + length(currentInstruction);
    

    for ease of understanding, think of a processor which executes 1 instruction in each clock cycle. in addition consider all instuctions to be of the same size (4 bytes as in arm).

    then the logic becomes even simpler

    if (RESET)
        PC = 0x0000;
    else
        PC = PC + 4;
    

    now this logical decision is simple enough to implemented as a digital logic circuit using gates, which has inputs – RESET, and PC and output – PC, and clocked by the processor clock.
    as long as the RESET signal is asserted, there could be additional logic that disables the execution pipeline and the fetch circuit.

    while the RESET is asserted, the PC is loaded with the restart address.

    now the responsibility to assert and release the RESET signal lies with the reset circuitry which may choose to do so only after it receives the POWERGOOD signal and/or CLOCKSTABLE signal.

    the clockgenerator outputs the CLOCKSTABLE after the clock signal is stable and usable.

    the POWERGOOD signal is asserted by the power circuitry after the voltage has stabilized.

    all these signals may not be present or used in a particular platform.
    the RESET signal is usually found on all processors.

    once the RESET signal is released, the execution pipeline is enabled and
    the execution logic initiates a FETCH from that address.

    books on digital logic design will usually have this kind of info. and some example to show how to design an ALU.
    the PC incrementing algorithm behind each architecture will be similar(in concept) but has to take care of peculiarities of the processor design.

    if the processor supports two differnt restart addresses depending upon a jumper setting, it can be usually achieved by having an additional pin on the processor which is connected to a jumper which may pull it to logic 1 or 0.

    now the PC increment logic becomes,

    if (RESET)
        if(RESETADDRESSJUMPER)
             PC = 0x0000;
        else
             PC = 0xfff0;
    else
        PC = PC + 4;
    

    similarly, it is possible to define any complex logic to reset the processor required by the processor architecture.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hai friends, I have a doubt now, Has Android really replaced J2ME and WML?
I don't come here for help often but I am pretty frustrated by this
I run the technical side of a discussion forum, which is plagued by a
When I asked this question I accepted the answere because it made sense and
I have been manipulating image files after uploading in the usual way like moving
We currently have a corporate intranet built with ASP.NET and originally designed for IE.
I have an unnormalized events-diary CSV from a client that I'm trying to load
I'm having a small bit of doubts here as to how sessions should be
I am new to web development... mostly i learn my own.. I got to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.