aboutsummaryrefslogtreecommitdiffstats
path: root/dhrystone/stdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'dhrystone/stdlib.c')
-rw-r--r--dhrystone/stdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhrystone/stdlib.c b/dhrystone/stdlib.c
index 1b04026..b4d2a2f 100644
--- a/dhrystone/stdlib.c
+++ b/dhrystone/stdlib.c
@@ -36,7 +36,7 @@ char *malloc(int size)
// printf("[malloc(%d) -> %d (%d..%d)]", size, (int)p, heap_memory_used, heap_memory_used + size);
heap_memory_used += size;
if (heap_memory_used > 1024)
- asm("sbreak");
+ asm("ebreak");
return p;
}