🎓 Topic assembly programming --- Counting to 10 example #228
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Show a counting to 10 program
Why
Its slightly more complex than the previous ones talked about.
Testing
👍
Additional Notes
I was thinking of also adding an example of doing multiplication, which is neat because you can talk about how, although we could have the hardware to do it, we don't, so we can do it in software, which I think this is a neat discussion point.
However, I also like the problem as a lab or maybe assignment problem as it's gotta' be near the limit of the problems we can solve with 16 Bytes or RAM.
HOWEVER, if somehow the next few topics go well and quickly, I may run out of topics quick. If something like that happens, I may need to make more content, which I would then set the focus on assembly. If that happens, I would need to pick a language. Off the top of my head, I could use
LC3, which is a learning thing, or possiblyARMas it's a reasonably simple instruction set.