This extends support for ASI-tagged loads, stores, and swaps with the new stored-ASI form ([reg+imm] %asi) introduced in v9.
CAS instructions are handled differently by the (dis-)assembler, so it will be handled in a separate patch.
Depends on D157232
Can you use getParser().parseExpression() here?
Why is the variable named Mask?