Electronic Circuits and Tutorials
8051/8052 Microcontroller Tutorial

Bit Memory - 8051 Microcontroller

Author : Craig Steiner
Source : 8052.com

Book : The 8051/8052 Microcontroller:
         Architecture, Assembly Language, And Hardware Interfacing (Paperback)

Bit Memory

The 8051, being a communications-oriented microcontroller, gives the user the ability to access a number of bit variables. These variables may be either 1 or 0.

There are 128 bit variables available to the user, numbered 00h through 7Fh. The user may make use of these variables with commands such as SETB and CLR. For example, to set bit number 24 (hex) to 1 you would execute the instruction:

SETB 24h

 >>> Enter here for detail on "Bit Memory" <<<

 <<< Click here to come back on (Types of Memory)


Note: To report broken links or to submit your projects, tutorials please email to Webmaster