a 32 bit number cannot be represented in 24 bits , you need 32bit multiplier code

look at n-bit math