Let's write some simple routines we may need in a game! We'll write a psuedo random number generator, which can create repeatable 16 bit random numbers. We'll also create a 'Range checker' which can be used as a collision detection routine for unsigned 8 bit numbers
As always, this Video lesson matches the text lesson on my website, and you can get the source code as well...
http://www.chibialiens.com/arm/multip...
My Books cover most ASM languages and are available on Amazon stores worldwide!
The new book covers ARM Thumb, 65816, 6809, PDP-11 and Risc-V CPUs
https://amzn.to/3JniJQt
My 1st book is still available, and covers ASM programming on Z80, 6502, 68000, 8086 and ARM
https://amzn.to/36wqp4g
If you like my content, and want to see more in the future, please support me on patreon:
/ akuyou
Or become a member on my youtube channel:
/ @chibiakumas
You can also support my content by buying branded merchandise from my Teespring store:
https://teespring.com/stores/chibiakumas
My Assembly tutorials cover a wide range of CPU's and Systems, see them all here:
http://www.assemblytutorial.com/