View Single Post
Old 08 September 2020, 16:09   #9
Thomas Richter
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 1,323
Originally Posted by 8bitbubsy View Post
How is this achieved in a fast way when working with binary?

If you have no division instruction, the same way as in BCD, except that each digit can be either 0 or 1, which simplifies continuous subtraction to a single compare. If you do, well, use the division instruction.
Thomas Richter is offline  
Page generated in 0.04802 seconds with 11 queries