Massively reworked and extended ISA-Description class.
Added inspection to validate the correctness of a MC68000 instruction regarding operation size and address modes.
This commit is contained in:
@@ -40,6 +40,9 @@
|
||||
<psi.referenceContributor implementation="de.platon42.intellij.plugins.m68k.refs.M68kReferenceContributor"/>
|
||||
<gotoSymbolContributor implementation="de.platon42.intellij.plugins.m68k.refs.M68kChooseByNameContributor"/>
|
||||
<renameInputValidator implementation="de.platon42.intellij.plugins.m68k.psi.M68kRenameInputValidator"/>
|
||||
|
||||
<localInspection implementationClass="de.platon42.intellij.plugins.m68k.inspections.M68kSyntaxInspection"
|
||||
enabledByDefault="true" level="ERROR"/>
|
||||
</extensions>
|
||||
|
||||
<actions>
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports wrong use of assembler instruction syntax.
|
||||
|
||||
The parser allows more combinations than supported by the target CPU.
|
||||
This inspection does a strict verification on the allowed addressing modes
|
||||
and operation size for each assembly mnemonic.
|
||||
<!-- tooltip end -->
|
||||
<p>Several different error messages may be the result of this verification,
|
||||
giving hints whether the first or the second addressing mode is unsupported,
|
||||
or if the operands should be swapped to make it a legal instruction.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user