China Naming Network - Weather knowledge - Kneel down! Assembly language! Turn it into assembly language! Dynamic display digital tube!

Kneel down! Assembly language! Turn it into assembly language! Dynamic display digital tube!

I have a rough look at your circuit and C program, which can give you an idea. The program still needs to be compiled by yourself, mainly because I think you need simulation. If it works, it will be troublesome. I really don't have the energy to write. My idea is that if we want to light up the first number, we should send 000 to 74hc 138, that is, the third place of p 1 is 0. Then the data you want to display will be converted into an eight-character code by a subroutine from binary to decimal, and then sent to the segment selection terminal. I have a binary to decimal conversion program and a calling eight-character code display program. I can send it to you for reference if you use it.