One operation that comes up repeatedly in programming is creating a delay and keeping track of how many times a particular function takes place. The algorithms typically involve counting. Since MCU operational registers can be counters, shift registers, or just storage locations, you can use them to implement some of those operations. For this project, using the previously explained assembly language program, develop a short subroutine that outputs the numbers 0 through 9 to output port $04 then stops. Use the assembly language instructions given earlier, but add one more: INCA increments the A register by one.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here