8051 programming ready reference

Upload: sivaranjan-goswami

Post on 05-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 8051 Programming Ready Reference

    1/4

    Memory Map of 8051 microcontroller

  • 7/31/2019 8051 Programming Ready Reference

    2/4

    Memory map of the SFRs:

  • 7/31/2019 8051 Programming Ready Reference

    3/4

    The individual bits of TMOD have the following functions:

    As you can see in the above chart, four bits (two for each timer) are used to specify a

    mode of operation. The modes of operation are:

    TCON (88H) SFR

  • 7/31/2019 8051 Programming Ready Reference

    4/4

    Interrupt Service Routine Addresses:

    Your program may enable and disable interrupts by modifying the IE SFR (A8h):