Only port 0 needs pull-up resistors to be connected externally if you want to use it as out put port, because it has no in built pull up circuit so it can't give +5v as out put. refer micro controller and applications book by mahmed ali mazidi.
54
8 Bits Wide
to determine the state condition of microcontroller's input when microcontroller is reading the input port
just a note: Clarify your question Bit-addressable registers are registers that its bits can be modified individually. that means if you have register named "ACC" that is bit addressable , you can change its bits (D0 -D7) individually by special instructions SETB and CLR. ex: SETB ACC.3 ; will set bit number 4 (remember bit 0) in the register in 8051 there are many bit-addressable registers such as A (ACC), B, SCON, PCON, TCON, p0,p1,p2,p3 . best wishes, drdigital.
In the context of the 8051 microcontroller, Tmp 1 and Tmp 2 refer to temporary registers or memory locations used during the execution of instructions. These temporary registers are often utilized by the CPU to hold intermediate data or results during arithmetic and logical operations. They help optimize processing by reducing the need to access slower main memory frequently. However, specific naming conventions like Tmp 1 and Tmp 2 may vary, as the 8051 architecture mainly utilizes general-purpose registers for such temporary storage.
Some devices are internally either in the open drain or in the open collector configuration. So in order to create a closed path for the current the device is pulled up with a resistor to the supply.
In other words, how do you save temporary data such as data stored in registers r0 to r7 ? The simplest way to use on-chip RAM of the 8051 is to compile your C code with the "--model-small" small memory model option of the SDCC compiler, which tells it to put all variables in on-chip RAM of the 8051.
A pullup can be considered a kind of diaper The main difference between a pullup and a normal diaper is that a pullup can be easily pulled on and off in the manner of normal underwear. Additionally, many pullups don't hold as much urine as a normal diaper.
The bit addressable memory in 8051 is compose from 210 bits: - bit address space: 20H - 2FH bytes RAM = 00H - 7FH bits address; - SFR registers; The following addresses are NOT bit addressable, only 1-byte addressable: - 32 bytes RAM from 00H to 1FH (R0 - R7 registers in all four banks); - 80 bytes RAM general user from 30H to 7FH.
A pullup primarily works the muscles in the back, specifically the latissimus dorsi, biceps, and forearms.
The microcontrollers have an 8-bit data bus. They are capable of addressing 64K of program memory and a separate 64K of data memory. The 8051 has 4K of code memory implemented as on-chip Read Only Memory (ROM). The 8051 has 128 bytes of internal Random Access Memory (RAM). The 8051 has two timer/counters, a serial port, 4 general purpose parallel input/output ports, and interrupt control logic with five sources of interrupts. Besides internal RAM, the 8051 has various Special Function Registers (SFR), which are the control and data registers for on-chip facilities. The SFRs also include the accumulator, the B register, and the Program Status Word (PSW), which contains the CPU flags. << SHARMILA TANDEL (B.E) ELECTRONICS >>
because i said so thats why