aboutsummaryrefslogtreecommitdiff
path: root/binutils_patches/0009-Fixed-typo-in-STM8-opcode-list-definition.patch
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-29 23:24:57 +0100
committerXavier ASUS <xavi92psx@gmail.com>2019-10-29 23:24:57 +0100
commitfb0ec944206a38db7d2d3f6985558f73959340f7 (patch)
treeccc96bb58dc0ef2a5175cdf8a2b606505c80295b /binutils_patches/0009-Fixed-typo-in-STM8-opcode-list-definition.patch
parent6c58ed406a1dfa724bff457530870ad14cb012b5 (diff)
downloadstm8-binutils-gdb-fb0ec944206a38db7d2d3f6985558f73959340f7.tar.gz
New patches
Diffstat (limited to 'binutils_patches/0009-Fixed-typo-in-STM8-opcode-list-definition.patch')
-rw-r--r--binutils_patches/0009-Fixed-typo-in-STM8-opcode-list-definition.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/binutils_patches/0009-Fixed-typo-in-STM8-opcode-list-definition.patch b/binutils_patches/0009-Fixed-typo-in-STM8-opcode-list-definition.patch
new file mode 100644
index 0000000..67ce921
--- /dev/null
+++ b/binutils_patches/0009-Fixed-typo-in-STM8-opcode-list-definition.patch
@@ -0,0 +1,26 @@
+From 384f13a86da9f462b9a4dfb48407b48461d8a837 Mon Sep 17 00:00:00 2001
+From: Xavier ASUS <xavi92psx@gmail.com>
+Date: Tue, 29 Oct 2019 23:16:22 +0100
+Subject: [PATCH 9/10] Fixed typo in STM8 opcode list definition
+
+---
+ opcodes/stm8-opc.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/opcodes/stm8-opc.c b/opcodes/stm8-opc.c
+index d16e7b60..3a9397a1 100644
+--- a/opcodes/stm8-opc.c
++++ b/opcodes/stm8-opc.c
+@@ -240,8 +240,8 @@ const struct stm8_opcodes_s stm8_opcodes[] =
+ {"cpl", {ST8_LONGPTRW_X}, 0x7263},
+ {"cpl", {ST8_SHORTPTRW_Y}, 0x9163},
+ //cplw
+-{"clrw", {ST8_REG_X}, 0x53},
+-{"clrw", {ST8_REG_Y}, 0x9053},
++{"cplw", {ST8_REG_X}, 0x53},
++{"cplw", {ST8_REG_Y}, 0x9053},
+ //dec
+ {"dec", {ST8_REG_A}, 0x4A},
+ {"dec", {ST8_SHORTMEM}, 0x3A},
+--
+2.17.1