Assembly eComic - Issue 11, now available!
Posted: Tue Apr 12, 2022 3:01 pm
Only 4 months from the last issue and we already have another! In this issue of the somewhat irregular eMagazine, we have:
Beginners' Corner: where we discuss simply screen and file handling. Experienced readers should skip over the excruciating detail that I go into to help beginners.
Sudoku Solver: yes indeed, a Sudoku solver for 9 by 9 grids. I say "solver" but it's really a brute force algorithm using recursion and backtracking to guess which numbers will eventually provide a solution. (Or not!) There's a demonstration puzzle and a few examples to load and solve. You can make your own puzzles up and load them too -- the code will let you know if a puzzle cannot be solved.
Multiplication: a small but perfectly formed chunk of assembly code to multiply two 32 bit unsigned values to give a 64 bit product. Did you notice unsigned there? Yes, me too. I convinced myself to add in a bit of extra code and make it multiply signed numbers as well.
We also have more News and Quickies again in this issue.
As ever, you do not need the source code, that's GitHub's processing of a release, just grab the PDF from the asset list at the link below. Click the arrow to open the list if it's not already open.
https://github.com/NormanDunbar/QLAssem ... g/Issue_11
Cheers,
Norm.
Beginners' Corner: where we discuss simply screen and file handling. Experienced readers should skip over the excruciating detail that I go into to help beginners.
Sudoku Solver: yes indeed, a Sudoku solver for 9 by 9 grids. I say "solver" but it's really a brute force algorithm using recursion and backtracking to guess which numbers will eventually provide a solution. (Or not!) There's a demonstration puzzle and a few examples to load and solve. You can make your own puzzles up and load them too -- the code will let you know if a puzzle cannot be solved.
Multiplication: a small but perfectly formed chunk of assembly code to multiply two 32 bit unsigned values to give a 64 bit product. Did you notice unsigned there? Yes, me too. I convinced myself to add in a bit of extra code and make it multiply signed numbers as well.
We also have more News and Quickies again in this issue.
As ever, you do not need the source code, that's GitHub's processing of a release, just grab the PDF from the asset list at the link below. Click the arrow to open the list if it's not already open.
https://github.com/NormanDunbar/QLAssem ... g/Issue_11
Cheers,
Norm.