Skip to main content

Posts

Showing posts from September, 2018

Delay generation technique in the 8085:

Delay generation technique in the 8085: There is a lot of the method for the delay generation in the 8085 one of the most commonly used one is with the help of the software. There is nothing complicated in the programming in all the technique same logic is applied so don't worry you will be fine............. Delay subroutine using the only 8-bit register:                                          MVI B, COUNT;                              LOOP: DCR B;                                          JNZ LOOP;                                          RET; calculation of  the count: The require coun...

Serial communication register in the 8051

Serial communication register in the 8051 SBUF: SBUF  is the serial buffer register use to sore the data during the transmission and the reception of the data. SCON: (Serial Port Control Register) This register use for the mode selection, serial port interrupts, and for the 9th bit of the transmission and  reception.     SMO – Serial port mode 0 shift register SM1 – serial port mode 1 8 bit UAR + variable SM2 – enable multiprocessor communication in mode 2/3.only set this pin if  in  the case you are dealing with the environment of the microprocessor. REN – set/ clear by software to enable/disable reception TB8 – the 9th bit that will be transmitted in mode 2/3 set/clear by software. RB8 – in mode 2/3 it is the 9th bit that was received in mode 1 if SM2 =0, RB8 is the stop bit that was received in mode it is not used. TI – transmit interrupt flag set by hardware at the end of 8 bit time in mode 0 at the beginning of the ...