Use a bool for indicating whether or not to use hex for imm()