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 / reg51.h

reg51.h

|

Microcontroller › 8051 › reg51.h

  • This topic has 3 replies, 4 voices, and was last updated 10 years, 9 months ago by Rohit.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 26, 2015 at 9:46 am #3415
    Ernest Barnes
    Participant

    Hi can any one tell me if there is a difference between reg51.h “80c51″ and reg51.h”89c51” why i’m asking is i done a project included the reg51.h file compiled no errors when i run it in proteus no response looking at the reg51.h header file i see it is for a 80c51 where as the project i done is with a 89c51 mcu.

    If there is a difference where can i then get the header file for the 89c51mcu.

    any help will be appreciated

    thanks

    ernest

    January 27, 2015 at 12:25 pm #12544
    doraemon
    Participant

    No! In keil uVision it is generic header file which can be used for all 8031 and 8051 microcontrollers. 89c51 is 8051 based microcontroller so you can use this for it. header file simply defines register addresses in hexadecimal so you dont have to remember hexadecimal value of different registers like Accumulator has hexacecimal value of 0xE0.

    January 29, 2015 at 9:45 am #12547
    Ashutosh Bhatt
    Participant

    89C51 means it has FLASH memory inside. 80C51 means ROM inside. this is the difference

    if KEIL you can use reg51.h for entire family of MCS51 like

    89C52/89S52/89C4051/89C2051 etc all

    February 14, 2015 at 11:27 am #12591
    Rohit
    Participant

    this header file works with all 8×51 series…

     

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

RSS Recent Posts

  • My Advanced Realistic Humanoid Robots Project December 7, 2025
  • Looking for single photovoltaic cells for light gate December 7, 2025
  • I am ready to move from electrical and electronics field but confused where ? December 7, 2025
  • Hitachi SuperScan Elite 802 CRT Monitor Issues (Model CM802U) December 7, 2025
  • Sanity Check – Peltier "Cooler" for Heating and Cooling December 7, 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