diff --git a/commands.md b/commands.md index 6b2e9b5..8031ff3 100644 --- a/commands.md +++ b/commands.md @@ -96,6 +96,12 @@ Calls a function with optional arguments. ([,,...]) ``` +**Arguments can be:** +- Variables: `myvar` +- Constants or literals: `42`, `$FF` +- String literals: `"hello"` (passed as pointer to WORD parameter) +- Label addresses: `@spriteData` (passed as pointer to WORD parameter) + **Examples:** ``` initialize @@ -734,6 +740,7 @@ Declares a 16-bit variable or constant. WORD WORD = WORD = "" +WORD = @