We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello
i m using Assembly, and I need the help about SFRs of 89C51
What is the purpose of SFRs How can i control these registers. and some more basic help about SFRs
any link or source code
Special Function Registers are just special memory cells that not just store values but that have the bits mapped to some hardware.
The SFR may map to receive/transmit register for an UART, or the I/O pins of a port or counter value and status bits of a timer.
You use them similar to a memory cell with the addition that they must be declared as volatile - they can change their contents between two accesses.
What you do with them is something you have to figure out yourself, based on sample code, datasheets and "the bible".