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:1.Write the following program to display ABC on LCD display in EDSIM51 simulator software.MOV 30H, #'A'MOV 31H, #'B'MOV 32H, #'C'MOV 33H, #0CLR P1.3CLR P1.7CLR P1.6SETB P1.5CLR P1.4SETB P1.2CLR P1.2CALL delaySETB P1.2CLR P1.2SETB P1.7SETB P1.2CLR P1.2CALL delayCLR P1.7CLR P1.6CLR P1.5CLR P1.4SETB P1.2CLR P1.2SETB P1.6SETB P1.5SETB P1.2CLR P1.2CALL delayCLR P1.7CLR P1.6CLR P1.5CLR P1.4SETB P1.2CLR P1.2SETB P1.7SETB P1.6SETB P1.5SETB P1.4SETB P1.2CLR P1.2CALL delaySETB P1.3MOV R1, #30Hloop:MOV A, @R1 JZ finishCALL sendCharacterINC R1JMP loopfinish:JMP $sendCharacter:MOV C, ACC.7MOV P1.7, CMOV C, ACC.6MOV P1.6, CMOV C, ACC.5MOV P1.5, CMOV C, ACC.4MOV P1.4, CSETB P1.2CLR P1.2MOV C, ACC.3MOV P1.7, CMOV C, ACC.2MOV P1.6, CMOV C, ACC.1MOV P1.5, CMOV C, ACC.0MOV P1.4, CSETB P1.2CLR P1.2CALL delaydelay:MOV R0, #50DJNZ R0, $RET2.Click on run to simulate the instructions.3.When running this program, best viewed with Update Freq. set to 100.4.Screenshot the results.Result:-Screenshot of the resultsDiscussion:1.Explain line by line the function of each instruction.2.Discuss the observations obtained.3.Modify 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!