#3 REPEAT COUNT FOR MACROS #4 REPEAT COUNT FOR MACROS #3* Ordinarily argument to macro goes to #4* Ordinarily argument to macro goes to #3 first command within the macro, not #4 first command within the macro, not #3 the whole thing. #4 the whole thing. #3* Solution: make entire macro a loop. #4* Solution: make entire macro a loop. #3* Problem: no arg gives infinite loop. #4* Problem: no arg gives infinite loop. #3* Solution to this: calculate repeat #4* Solution to this: calculate repeat #3 count to be 1 or greater: #4 count to be 1 or greater: #3 +0UR QR "E%R' QR<... #4 +0UR QR "E%R' QR<... #3* Stores arg in register, tests if zero, #4* Stores arg in register, tests if zero, #3 if so, increments to one. #4 if so, increments to one.