EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / 8051 interrupt

8051 interrupt

|

Microcontroller › 8051 › 8051 interrupt

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 2 months ago by Ashutosh Bhatt.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 24, 2015 at 7:42 am #4170
    SOUMYAK CHANDRA
    Participant

    hello everyone :)

    org 0000h
    ljmp main
    org 001bh
    djnz r0,start
    cpl p1.2
    mov r0,#14
    mov tl1,#00h
    mov th1,#00h
    start:reti
    org 0030h
    main:mov tmod,#10h
    mov ie,#88h
    mov r0,#14
    mov tl1,#00h
    mov th1,#00h
    setb tr1
    here:sjmp here
    end

    In this program whenever "reti" instruction executed after "djnz r0,start", it jumps to "here" subroutine then how timer 1 is auto reloaded although timer is used in mode 1 . . can you help me. . please unsure emoticon

    December 26, 2015 at 7:09 pm #13600
    Ashutosh Bhatt
    Participant

    timer rolls over from FFFFh to 0000h and again start counting. no need of auto reload this is default

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • H bridge current direction logic March 5, 2026
  • Hello & a Request: Recommendations for obsolete Panasonic filter Capacitors. March 4, 2026
  • Pnp transistor query March 4, 2026
  • Single wire UART to Microcontroller March 4, 2026
  • Distorted waveform March 4, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise