![](https://peter.quantr.hk/wp-content/uploads/2018/02/the-best-solution-for-develop-test-case-for-assembler-1024x576.png)
I am better to embed all testing assembly instruction in the antlr listener rather than finding a way to embed them into the antlr grammar, because: Using parser of parser skill set to write a parser to parse antlr grammar and extract the testing asm instruction is too risky. One day the antlr grammar will […]