Non Restoring Binary Division?
Can anyone help me with the Algorithm?
It seems as it sometimes works sometimes doesn't. I have probably missed something so I am not using it properly...
For example: it works great for:
1. 00001011 divided by 00000010
2. 00101101 divided by 00000101
3. 01111000 divided by 00010101
But it won't work for:
1. 00100100 divided by 00000110
2. 00011011 divided by 00011011
3. 00000001 divided by 00001111
I really have no idea where my work fails...
Maybe the number of iterations, or something else...
If anyone knows what might I have misunderstood, please tell me...