From bbe51f9a34c32266302c8a052c71ff1f66f3bac9 Mon Sep 17 00:00:00 2001 From: lephe Date: Sat, 13 Jul 2019 11:45:21 -0400 Subject: [PATCH] r61524: stay compatible with sh3eb-elf --- src/r61524/r61524.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r61524/r61524.c b/src/r61524/r61524.c index 5e82eca..ae3242a 100644 --- a/src/r61524/r61524.c +++ b/src/r61524/r61524.c @@ -55,7 +55,7 @@ typedef word_union(entry_mode_t, // Device communication primitives //--- -#define synco() __asm__ volatile ("synco":::"memory") +#define synco() __asm__ volatile (".word 0x00ab":::"memory") /* Interface with the controller */ GDATA static volatile uint16_t *intf = (void *)0xb4000000;