Question: Task 2 - Define a string in the CODE memory ( end it with null ) . For example str: db 'I LOVE EMBEDDED SYSTEM

Task 2- Define a string in the CODE memory (end it with null). For example
str: db 'I LOVE EMBEDDED SYSTEM DESIGN COURSE'
db 0
Write a program to display a string (with any content), character by character, on the dot matrix display. DO NOT CHANGE THE CONTENT OF THE LOOKUP TABLE. it would help if you found a mapping function to convert a letter(A-Z) to the start address of that letter pattern in the table. Since the string only contains capital letters and space, you can use the following formula:
letter_index = string[ i ]-'A', for i=0 to length(str)
start_address = start_address_of_lookup_table +8* lettter_index

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 Finance Questions!