A simple program for the LC-3 simulator, which counts all of the '1's in the 16-bit number retrieved from memory location x3100, then stores that count in memory location x3101. Written using the LC-3's extremely limited set of three math operators, in just eight instructions.