aboutsummaryrefslogtreecommitdiffstats
path: root/foci.h
diff options
context:
space:
mode:
Diffstat (limited to 'foci.h')
-rw-r--r--foci.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/foci.h b/foci.h
index c7d6fcb..9c21c27 100644
--- a/foci.h
+++ b/foci.h
@@ -82,9 +82,9 @@ register intptr_t * sp asm("r4"); // pointer to stack cells
register intptr_t *** rp asm("r5"); // stack of pp
register intptr_t ** pp asm("r6"); // pointer to ip
register intptr_t tmp asm("r7");
-#define STASH asm("push r4; push r5; push r6")
-#define RESTORE asm("pop r6; pop r5; pop r4")
-#define NEXT asm("incd r6;\n br @r6")
+#define STASH asm("push r4\npush r5\npush r6")
+#define RESTORE asm("pop r6\npop r5\npop r4")
+#define NEXT asm("incd r6\nbr @r6")
#endif // FOCI_MSP430
extern void foci_putchar(int);