Clean up hal_32.c

Attempting to unify 32 and 64
as much as possible. 32-bit works a lot better,
let's make 64-bit work as much as the 32-bit code.

First let's make it a bit easier to read...

Signed-off-by: Alec Ari <neotheuser@ymail.com>