How can you use ASM to get the average of 5 integer numbers with values up to a BYTE in size... (0-255)
I know you can use Right Shift to Average 2,4,8,... numbers
I never realy grasped how DIV works in ASM, if someone could explain that i would also be greatful... (like what registers to put the Numerator and denominator, and where the results are returned...
Is there a faster way to Average odd sets of numbers than using divide?
sorry for my ignorence... It's been about 3 or 4 years since I coded in ASM and that didn't last too long...
ThnX N AdvnC
Have Fun, Be Young... Code BASIC
-Josh Stribling
I know you can use Right Shift to Average 2,4,8,... numbers
I never realy grasped how DIV works in ASM, if someone could explain that i would also be greatful... (like what registers to put the Numerator and denominator, and where the results are returned...
Is there a faster way to Average odd sets of numbers than using divide?
sorry for my ignorence... It's been about 3 or 4 years since I coded in ASM and that didn't last too long...
ThnX N AdvnC
Have Fun, Be Young... Code BASIC
-Josh Stribling