Microcomputer Principle Experiment 2 Count the number of a character in a string of characters (assembly language)

Write a program to count the number of a character in a string of characters. Compile and link it into an executable file to debug and verify the program function.
The program is written as follows: The
Insert picture description here
experimental results are as follows: It
Insert picture description here
can be seen that there are 5 letters p in total, and the program runs normally.

Guess you like

Origin blog.csdn.net/NikoHsu/article/details/106375454