Quantcast

A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

rahul91

  • 2 years ago

In 8086 microprocessor at the end of a program we use HLT instruction.But we do not have such an instruction in micro controller 8051.why?

  • This Question is Closed
  1. Tushara
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    The HLT instruction halts the CPU until the next external interrupt is fired. The interrupts are used to signal the CPU that something has happened so it can act on it. This instruction can be used to reduce power consumption. Now, all x86 processors from the 8086 onwards have the HLT instruciton. So 8051 does not have this instruction because i was produced before the 8086..... I hope that helps

  2. Tushara
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    And in 8051, since SJMP effectively halts the microprocessor, there is no need for a separate halt instruction.

  3. rahul91
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @Tushara my question is why are we using a jump instruction to end the program in micro controller 8051 instead of a HLT instruction.. i dont think its because 8051 was produced before x86 processor.The question was asked to me during our university practical exam. anyway thanks for the reply

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.