View Single Post
  #6 (permalink)  
Old March 15th, 2004, 11:12 AM
davekw7x davekw7x is offline
Authorized User
 
Join Date: Feb 2004
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote