Write trace function for int. Start to write save function.
Write function for bits counting.