From f1ad0a3e376b1103b48689fc48ed9443641a038f Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 7 Jan 2015 22:42:35 -0800 Subject: Added ldr and str instructions to gen_arm --- gen_arm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gen_arm.h') diff --git a/gen_arm.h b/gen_arm.h index 749f78c..191a80f 100644 --- a/gen_arm.h +++ b/gen_arm.h @@ -149,5 +149,9 @@ uint32_t pop(code_info *code, uint32_t reg); uint32_t pop_cc(code_info *code, uint32_t reg, uint32_t cc); uint32_t popm(code_info *code, uint32_t reglist); uint32_t popm_cc(code_info *code, uint32_t reglist, uint32_t cc); +uint32_t ldr_cc(code_info *code, uint32_t dst, uint32_t base, int32_t offset, uint32_t cc); +uint32_t ldr(code_info *code, uint32_t rst, uint32_t base, int32_t offset); +uint32_t str_cc(code_info *code, uint32_t src, uint32_t base, int32_t offset, uint32_t cc); +uint32_t str(code_info *code, uint32_t src, uint32_t base, int32_t offset); #endif //GEN_ARM_H_ -- cgit v1.2.3