(8 points) Fill out the parts of the following 8051 program in which the 8051 gets data from P1 and sends it to P2 conti
Posted: Sat May 14, 2022 7:28 pm
(8 points) Fill out the parts of the following 8051 program in which the 8051 gets data from P1 and sends it to P2 continuously while giving a copy of it to the serial COM port to be transferred serially. Set the baud rate at 4800. Assume that XTAL = 11.0592MHz. ORG 0 LJMP MAIN ORG 23H LJMP SERIAL MAIN: ORG 30H MOV P1, #OFFH MOV TMOD, MOV MOV SCON, MOVIE, SETB TR1 BACK: MOV MOV SBUF, A SJMP BACK ORG 100H SERIAL: TRANS: CLR RI RETI CLR TI RETI END