From 3bb6165a582ad377b6b1b43d9d4344027c75fe3c Mon Sep 17 00:00:00 2001 From: chrisly42 Date: Sat, 4 Sep 2021 13:11:28 +0200 Subject: [PATCH] Courtesy of Yann: Bugfix: Special registers for address mode matching only worked with lower case register names. Bugfix: movem with pc-relative mode was missing for weird immediate mode. Bugfix: btst with pc-relative and weird immediate mode was missing. Enhancement: Assembler syntax with implicit immediate 1 for shifts and rotations no longer cause syntax errors. --- README.md | 7 ++++ build.gradle | 24 +++++------- .../intellij/plugins/m68k/asm/M68kIsa.kt | 38 ++++++++++++++----- src/main/resources/META-INF/plugin.xml | 4 +- .../m68k/parser/AddressingModesTest.kt | 7 +++- .../parser/addressingmodes/btst_quirk.txt | 31 +++++++++++++++ .../addressingmodes/special_register_move.txt | 2 +- 7 files changed, 85 insertions(+), 28 deletions(-) create mode 100644 src/test/resources/parser/addressingmodes/btst_quirk.txt diff --git a/README.md b/README.md index 7b3cc97..5b0fd9b 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,13 @@ are appreciated. They really are, because they do keep me motivated to continue ## Changelog +### V0.7 (unreleased) + +- Bugfix: `btst` with pc-relative and weird immediate mode was missing (courtesy of Yann). +- Bugfix: `movem` with pc-relative mode was missing for weird immediate mode (courtesy of Yann). +- Bugfix: Special registers for address mode matching only worked with lower case register names (courtesy of Yann). +- Enhancement: Assembler syntax with implicit immediate 1 for shifts and rotations no longer cause syntax errors (courtesy of Yann). + ### V0.6 (09-Aug-21) - Enhancement: `opt` and several other directives (`printt`, `fail` etc.) no longer causes a syntax error when unquoted. diff --git a/build.gradle b/build.gradle index fca299f..4f31f89 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { } group = 'de.platon42' -version = '0.6' +version = '0.7' sourceCompatibility = "1.8" targetCompatibility = "1.8" @@ -57,6 +57,13 @@ runPluginVerifier { patchPluginXml { setChangeNotes(""" +

V0.7 (unreleased)

+

V0.6 (09-Aug-21)