about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2020-02-23 14:02:01 +0100
committerGitHub <noreply@github.com>2020-02-23 14:02:01 +0100
commit1dac428d4cd764018ba222340718f1cdf5f71656 (patch)
treebc1d153e7831e8f9802d28e1cbab7535cb8cafc5
parent5ee76eed19b62983909d6a16966acc15b2c8726f (diff)
parentc5da5d7c98d06dbbefa1c7c0f63bb80c78abafba (diff)
downloadmiasm-1dac428d4cd764018ba222340718f1cdf5f71656.tar.gz
miasm-1dac428d4cd764018ba222340718f1cdf5f71656.zip
Merge pull request #1144 from serpilliere/fix_msp430_warning
Fix msp430 warning
-rw-r--r--miasm/jitter/op_semantics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/miasm/jitter/op_semantics.h b/miasm/jitter/op_semantics.h
index 690cfb35..b76a350c 100644
--- a/miasm/jitter/op_semantics.h
+++ b/miasm/jitter/op_semantics.h
@@ -19,6 +19,11 @@ _MIASM_EXPORT extern const uint8_t parity_table[256];
 #endif
 #define parity(a) parity_table[(a) & 0xFF]
 
+
+_MIASM_EXPORT uint16_t bcdadd_16(uint16_t a, uint16_t b);
+_MIASM_EXPORT uint16_t bcdadd_cf_16(uint16_t a, uint16_t b);
+
+
 _MIASM_EXPORT unsigned int my_imul08(unsigned int a, unsigned int b);
 _MIASM_EXPORT unsigned int mul_lo_op(unsigned int size, unsigned int a, unsigned int b);
 _MIASM_EXPORT unsigned int mul_hi_op(unsigned int size, unsigned int a, unsigned int b);