# Description of code

The code loads as a BASIC stub at memory location $0801 (2049). The machine code program follows directly after the basic stub at memory location $080d (2061). It generates a list of the odd numbers using by using X as a counter and then setting the carry and rolling the value from x into the Accumulator. This is equivalent to 2X+1, which generates a list of odd numbers. The variable i counts the iterations of the program loop and is used to transform the odd number generated for the second and third part of the tree. There is a sub routine called from the main loop to print a number of centered stars on the current line. The number of stars is determined from the value of A when the subroutine is called.