diff --git a/04/main.s b/04/main.s index f2cbea7..9f8c156 100644 --- a/04/main.s +++ b/04/main.s @@ -31,12 +31,10 @@ mov byte [eax], 10 ; add a newline at the end ; end ; end ; 4. add copies + 1 (original) to final value -; 5. repeat while copies > 0 -; tmp := id + 1 -; repeat matches times -; increment copies_list@tmp -; increment tmp -; end +; 5. tmp := id + 1 +; repeat matches times +; copies_list@tmp += instances +; increment tmp ; end ; 6. goto 1