However, while this works when calculating uptime values, it will not work for all parameters. The correct way to calculate the final values would be to first convert them to '''binary'''. As mentioned earlier in this chapter, a register holds 16 bits of information. 16 bits of information can be represented by a 16-digit long binary number. Following from the example above, the first register's value of 1 converted to binary would be '''0000 0000 0000 0001''' and the second register's value of 3067 would be '''0000 1011 1111 1011'''. You can easily convert numbers from one system to another using any online conversion tool: | However, while this works when calculating uptime values, it will not work for all parameters. The correct way to calculate the final values would be to first convert them to '''binary'''. As mentioned earlier in this chapter, a register holds 16 bits of information. 16 bits of information can be represented by a 16-digit long binary number. Following from the example above, the first register's value of 1 converted to binary would be '''0000 0000 0000 0001''' and the second register's value of 3067 would be '''0000 1011 1111 1011'''. You can easily convert numbers from one system to another using any online conversion tool: |