Use 74ls373 input (P2.7 chip selection), 74ls377 output (P2.6 chip selection), try to compile the program, read ten data from 373 in turn, invert, and output from 377.
Answer:
74LS373 (input): 7fffh
74LS373 (input): bfffh
MOVR7, #10
MOVR0, #30H
MOVDPTR, #7FFFH
LOOP0:MOVXA, @DPTR
CPLA
MOV@R0, A
INCR0
DJNZR7, LOOP0
MOVR7, #10
MOVR0, #30H
MOVDPTR, #0BFFFH
LOOP1:MOVA, @R0
MOVX@DPTR, A
INCR0
DJNZR7, LOOP1
Push Wire Connectors,fast connectors,Push In Connector,Quick Wire Connectors
Jiangmen Krealux Electrical Appliances Co.,Ltd. , https://www.krealux-online.com