added compilation to assembly (binary is still weird)

This commit is contained in:
2017-05-30 08:58:16 -04:00
parent 721b090971
commit 53f66f6edc
7 changed files with 265 additions and 42 deletions

8
examples/basic.mc Normal file
View File

@@ -0,0 +1,8 @@
begin
a := 1;
b := a + 1;
b := b + 1;
write (a,b);
read(a,b);
write (a+10, b+10);
end