How do I round an integer to the nearest whole in assembly? The use of branching is not allowed here.
For example, 195 * .85 = 165.75. Normally, I'd multiply 195 by a scale factor (100) and then multiply, then divide down the scale factor. This would give me 165. How do I get 166?
I'm sorry if this is a terrible question - I'm new to assembly! Thank you.