The procedure splits the value of i into the bytes BL (low byte) and BH (high byte). The byte values are stored in then integer variables BH and BL and have a range of 0..255 .