- Announcement about May 10th, 2018 update and your password.
Performing modulus in PASM
I have a dynamic value, n, that I need to perform modulus on within a cog's PASM code in order to calculate a hub RAM memory offset.
Is there a fast/low instruction count trick to performing this operation? Google and forum searches haven't helped.