8051 Bit Variables
- 0x20 – 0x2F: Bit Memory
- It occupies 16 bytes of internal RAM from 0x20 through 0x2F.
- 128 bit variables, numbered 00h through 7fh.
- These variables may be either 1 or 0.
- User can set or clear any of the bit variables.
- 8051 provides special instructions to access these 16 bytes of memory on a bit by bit basics.
- SETB and CLR commands are used to set and clear bit variables.
- It is also byte addressable.
- Bit variables 00h to 7Fh are for user defined functions in their programs.
- Bit variables 80h and above are actually used to access certain SFR’s on a bit by bit basics.
Related topics:
8051 Program Memory | 8051 Data Memory | 8051 Register Bank | 8051 Special Function Registers | 8051 Memory Map
List of topics: 8051
No comments:
Post a Comment