Question: Using Edsim51 Assembly language 1. Two BCD numbers are stored in two memory locations NUMI and NUM2 in code memory (ROM). A list of numbers

Using Edsim51
Assembly language
1. Two BCD numbers are stored in two memory locations NUMI and NUM2 in code memory (ROM). A list of numbers is stored starting at memory location LIST in code memory (ROM). The list is terminated by character FFH. Write a program to perform the following operations and output the result to P2. Value in R7 Operation 0 Count the number of values excluding the terminating character FFH. Output the count on P2. Otherwise Add and Convert the result to BCD. Output the sum on P2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
