td><td> 100111</td><td> 314</td><td><tt>IM</tt></td></tr>
<tr><td> 512 </td><td> 200222</td><td> 628</td><td><tt>RZ</tt></td></tr>
<tr><td> 1024 </td><td> 1101221</td><td> 1412</td><td><tt>AJY</tt></td></tr>
</table>

<img src='../media/refs/oksapmin.png'/>

<p>To convert and print the heptavintimal digits of 5 trybbles from a <a
href='decimal.html'>decimal</a> integer stored in a 16-bit address space where
each trit takes 2 bits:</p>

<pre>
typedef uint32_t trint16_t;

int
ter2bin(trint16_t t)
{
	int sft =