If you know MCS-51 Assembler programming, this question is for you! https://driv
ID: 638187 • Letter: I
Question
If you know MCS-51 Assembler programming, this question is for you!
https://drive.google.com/folderview?id=0B97rPr64kF1yQzJsUW9KN0RISk0&usp=sharing
In the link above there is "lab_manual.pdf" open it, scroll almost to the end and you will see the exercises. I want you to write assembler code for Exercise 1 together with explanations because i'm new to assembler programming. Exercise 1 is about 16x2 LCD Display. Program is supposed to write something on first line and something on second line of display. The circuit diagram and external memory addressing, everything is given in "lab_manual.pdf".
To save your time I included my own code as "Exercise1 LCD.txt" but it didnt work when i debugged, please check it or write your own.
FYI: I use "Keil" software.
1500 points for a good solution of exercise-1 is guaranteed!
And dont worry about time i can wait until Monday 19 Jan.
Explanation / Answer
Example for writing program in assembly level language for displaying" Z source inverter" in the LCD Display.
ORG 0000H.
START:ACALL MSG1.
DSP: MOV LCD,A.
SET B,EN.
SETB,RS.
CLR RW.
CLR EN
RET.
MSG1: MOVA,#'Z'
ACALL DSP.
MOV A,#'_"
ACALL DSP.
MOV A,#'S'.
ACALL DSP.
MOV A,#'O'.
ACALL DSP.
MOV A,#'U'.
.
.
.
MOVA,# 'I'
ACALL DSP.
:
:
RET.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.