Question: Procedure: 1 . Write the following program to display ABC on LCD display in EDSIM 5 1 simulator software.MOV 3 0 H , #'A'MOV 3
Procedure:Write the following program to display ABC on LCD display in EDSIM simulator software.MOV H #'A'MOV H #'B'MOV H #'C'MOV H #CLR PCLR PCLR PSETB PCLR PSETB PCLR PCALL delaySETB PCLR PSETB PSETB PCLR PCALL delayCLR PCLR PCLR PCLR PSETB PCLR PSETB PSETB PSETB PCLR PCALL delayCLR PCLR PCLR PCLR PSETB PCLR PSETB PSETB PSETB PSETB PSETB PCLR PCALL delaySETB PMOV R #Hloop:MOV A @R JZ finishCALL sendCharacterINC RJMP loopfinish:JMP $sendCharacter:MOV C ACCMOV P CMOV C ACCMOV P CMOV C ACCMOV P CMOV C ACCMOV P CSETB PCLR PMOV C ACCMOV P CMOV C ACCMOV P CMOV C ACCMOV P CMOV C ACCMOV P CSETB PCLR PCALL delaydelay:MOV R #DJNZ R $RETClick on run to simulate the instructionsWhen running this program, best viewed with Update Freq. set to Screenshot the results.Result:Screenshot of the resultsDiscussion:Explain line by line the function of each instructionDiscuss the observations obtainedModify the instruction to display your name and student ID in the LCD display.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
