diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-15 23:51:40 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-16 00:00:32 -0800 |
commit | 8d2dece2918675f4c7159b36a5cf154ff1ccd7f5 (patch) | |
tree | cc0c5ed66bca089d76ce9a7a43b7fc145f8dfecc /apps | |
parent | 264aba4d929da6899af0672fcda7cc7a877099ec (diff) | |
download | mu-8d2dece2918675f4c7159b36a5cf154ff1ccd7f5.tar.gz |
7250
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ex2.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ex2.mu b/apps/ex2.mu index 4ecfde9f..16f04d29 100644 --- a/apps/ex2.mu +++ b/apps/ex2.mu @@ -13,7 +13,7 @@ fn main -> _/ebx: int { } fn do-add a: int, b: int -> _/eax: int { - var result/ebx: int <- copy a + var result/ecx: int <- copy a result <- add b return result } |