-
Brother electronics major, right?
Do you need someone else to do your homework for this simple thing?
You're really lazy!
You should be a college student, and you need a teacher to teach! If there is a teacher to teach, it should be n times stronger than us!
The purpose of your topic is to display, to put it bluntly, you want the MCU to control the digital tube to display things.
But now you use assembly, I don't understand assembly, I just use C, of course assembly is a machine language, and the execution speed is the fastest language. However, the development cycle time is long and the value shift is poor! Because every time you learn an MCU, you have to relearn the assembly!
Not cross-portable! Of course, it is also useful to learn the assembly, and it is very important to understand the role of MCU instructions and the principles of the MCU.
In the future, if you use assembly, your product will be very slow to market, and the assembly language readability and value shift will still be poor.
I want you to focus on learning.
It doesn't matter if you don't turn in your homework if you understand, but if you don't know how to turn in your homework n times, you're a stupid person!
Seriously, if you're a college student, I'm not qualified to help you.
I hope that Your Excellency will focus on your studies, not on homework, it doesn't matter if you don't hand in your homework, those who don't understand are the biggest horrors, I hope our country.
Hehe, I have shallow qualifications, and I am not a college student, and I know very little, I wish you success in your studies!
-
It's easy, but I'm not going to waste time doing it for you.
-
This topic is not complete.,How to write a circuit program without it.。
-
Using the assembly language program operation method, find the sum of all even numbers from 1 to 20.
Hello, dear, I am glad to answer for you Answer: Use the assembly language program on the computer operation method, find the sum of all even numbers from 1 to 20 Answer: The sum of all even numbers in the numbers from 1 to 20 is 110, in fact, there is a simple way to simplify this type of problem.
The method is that no single is equal to the square of the number plus the number, and no single is no singular number. For example, the even number from 1 to 20 is 2 4 6 8 10 12 14 16 18 20 There are only even numbers, there are 10 even numbers, and the sum is equal to the square of the number plus a number of Nian, that is, the square of 10 plus 10 is equal to 110.
-
Below is a screenshot of the operation in debug.
1. Use the e command to enter the data first;
2. Then use the a command to enter **;
3. Use the g command to execute**.
-
51 The program of the microcontroller is as follows:mov r2,#mov a,#lp:
add a,r2djnz r2,lpsjmp $end
For assembly: you can define three storage areas, such as 30h, 31h, 32h, all of which are decimal, 30h plus 1 when the key is pressed, 31h plus 1 when added to 10, 31h plus 1, when 31h added to 10, 32h plus 1, you can. >>>More
The general idea is to create two storage areas, one for the source string and one for the modified string. Create two loops, one for whitespace and one for string end symbols, both of which are compared with ASCII codes.
The introductory course of MCU C language programming is not difficult, it is not easy to say, and the first thing to understand is to understand what these two things are when learning MCU C language? The introductory programming of single-chip microcomputer is mainly to learn C language, followed by circuit and programming language. >>>More