I just made another loop, similar to your previous loops, that added the carry to each bit of the result (in the same order that you used: 7 is the index of the least significant bit, so loop from 7 downto 0.)
In your addition routine, print out the result before the loop that adds the carry, then print out the result after the carry. If you need to add print statements for each pass through the loop, do it.
Good Luck!!!!!
Dave
|