diff --git a/asminc/apple2.mac b/asminc/apple2.mac index b9860c092..c0c957102 100644 --- a/asminc/apple2.mac +++ b/asminc/apple2.mac @@ -36,6 +36,12 @@ ; Just output the character _scrcode arg1 + ; Check for an identifier + .elseif .match (.left (1, {arg1}), identifier) + + ; Just output the identifier + _scrcode arg1 + ; Anything else is an error .else diff --git a/asminc/atari.mac b/asminc/atari.mac index 3916254d0..952af8732 100644 --- a/asminc/atari.mac +++ b/asminc/atari.mac @@ -46,6 +46,12 @@ ; Just output the character _scrcode arg1 + ; Check for an identifier + .elseif .match (.left (1, {arg1}), identifier) + + ; Just output the identifier + _scrcode arg1 + ; Anything else is an error .else diff --git a/asminc/cbm.mac b/asminc/cbm.mac index 6d7ac7e8d..5c542b228 100644 --- a/asminc/cbm.mac +++ b/asminc/cbm.mac @@ -40,6 +40,12 @@ ; Just output the character _scrcode arg1 + ; Check for an identifier + .elseif .match (.left (1, {arg1}), identifier) + + ; Just output the identifier + _scrcode arg1 + ; Anything else is an error .else .error "scrcode: invalid argument type"