Added counting branch

Added a branch to increment R7 whenever a set bit is found.

Removed extraneous spacing from the source file.