title: How do I implement fixed-point arithmetics in Assembly?
body: <p>I'm doing a university project that requires using non-integers. We are coding in Assembly and the microprocessor we're using doesn't support floats. I'd like to know if there are any workarounds for this limitation. Mind you, I'm not looking for code (the microprocessor was designed specifically for learning purposes + it would be cheating), but I found the Wikipedia article about fixed-point arithmetics a bit vague. I got the impression that I need to represent the number as an integer, but I'm not sure if that means multiplying the number by a power of 2/10 or using the shift set of instructions (or even another solution). Any help would be appreciated.</p>