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 9 years, 6 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

  • Does US electric code allow branching ? July 19, 2025
  • Faulty heat air gun (dc motor) - problem to locate fault due to Intermittent fault July 19, 2025
  • Fun with AI and swordfish basic July 19, 2025
  • Sump pit water alarm - Kicad 9 July 19, 2025
  • turbo jet fan - feedback appreciated. July 19, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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