summaryrefslogtreecommitdiff
path: root/miniany/test1.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-08-30 07:45:27 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2021-08-30 07:45:27 +0000
commit6a647f4c573c0d44e250fc99a69683a55b1afae6 (patch)
treef0537405c1d5dec275943c278a467f68e384c7c0 /miniany/test1.c
parentc03c5fb46c0b2bbaa028d823786095a210896627 (diff)
downloadcompilertests-6a647f4c573c0d44e250fc99a69683a55b1afae6.tar.gz
compilertests-6a647f4c573c0d44e250fc99a69683a55b1afae6.tar.bz2
implemented simplistic register spilling
first working binary produced with cc/fasm and run on emul
Diffstat (limited to 'miniany/test1.c')
-rw-r--r--miniany/test1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/miniany/test1.c b/miniany/test1.c
index 94684fa..db266c0 100644
--- a/miniany/test1.c
+++ b/miniany/test1.c
@@ -4,3 +4,4 @@ int i;
int j;
i = 12+25/5-2*3; // another comment
+j = i/3+3*4; // another assignment