Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
get_argument_then_print_on_console [2016/08/31 11:28] freeaks |
get_argument_then_print_on_console [2016/08/31 11:50] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag>lea bhi blo beq console argument}} | + | {{tag>console argument}} |
== [[apollo_asm]] ==\\ | == [[apollo_asm]] ==\\ | ||
\\ | \\ | ||
- | this program will get argument being passed from cli at execution time, | + | this program gets two argument from CLI. \\ |
- | and will then print on the console.\\ | + | A number (arg1), and a string (arg2).\\ |
+ | it will repeat a number of times (arg1) the string (arg2).\\ | ||
+ | if arg2 is missing default message is used instead.\\ | ||
+ | \\ | ||
<code> | <code> |