The GNU as [1] allows macro definitons and invoation to separate arguments by spaces or commas. So far SLOTHY cannot handle spaces in both definitions and invocations.
This commit adds that functionality.
Here is some minimal examples for which SLOTHY currently fails:
.macro mx aa bb cc
add \aa, \bb, \cc
.endm
.macro my aa, bb, cc
add \aa, \bb, \cc
.endm
start:
mx x3, x1, x2
mx x4 x1 x2
my x5, x1, x2
my x6 x1 x2
end:
The GNU as [1] allows macro definitons and invoation to separate arguments by spaces or commas. So far SLOTHY cannot handle spaces in both definitions and invocations. This commit adds that functionality.
Here is some minimal examples for which SLOTHY currently fails:
The following SLOTHY calls can be used to test:
[1] https://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_node/as_107.html