• How to read port pins in port(P0,1,2)?
    I would like to call function like port(P0,1,2).i want to assign the values of 0 and 1 to P0.1 and P0.2 using that function prototype only...how can i assign the values to port pins.what are the steps...
  • 8051 Serial port
    Does anyone know how to cancel the transmission just after a write to SBUF ?
  • Bank switch code reads port, not latch.
    The sample L51_BANK.A51 module uses the following code to determine the current bank: ?B_BANK&N: MOV A,?B_CURRENTBANK ANL A,#?B_MASK CJNE A,#BANK&N,XLABEL ; etc... For 8051 compatible devices...
  • Ports of 8051
    Hello everyone i want to know that why there are pull up resistors with only port-0 and rest ports have internally connected resistors.
  • Reading Byte in a Port
    Hi everyone! I am new to keil and wanted to know how do I read a byte in a port. For example, I want to read the port's value. I know in a port have 8-bit and I want to be able to write a code which...