Question: Write an assembly program on the 8 0 8 6 instructions set. And using the string instructions to carry on the following task ( s
Write an assembly program on the instructions set. And using the string instructions to carry on the following tasks:
The program should declare an array string and variable as:
String db I like Assembly and Microprocessors but Marwan
Ans db
The program should then copy the string to ES: DI :D then find how many times the letter a or A appears in the string and store the result in Ans.
The program should use two subroutines, the first to copy the string from string to ES:DI The second is to count the number of times the string contains the upper or lower case of the letter AWrite an assembly program on the instructions set. And using the string instructions to carry on the following tasks:
The program should declare an array string and variable as:
String db I like Assembly and Microprocessors but Marwan
Ans db
The program should then copy the string to ES: DI :D then find how many times the letter a or A appears in the string and store the result in Ans.
The program should use two subroutines, the first to copy the string from string to ES:DI The second is to count the number of times the string contains the upper or lower case of the letter A
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
