In order to have th accumulator work as intended, I needed to have it clear the stored value, load it from the appropriate address (address 7 in this case). After the code as added the number, it returns to the original line so that it can keep operating as intended. If the accumulator carries over, the program skips the line that resets the line count and resets the entire accumulator before going on with the normal counting sequence.