From 4625b2e280fb8f57a58b3f452f815976fab0cd07 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 20 Sep 2020 11:56:10 -0700 Subject: 6819 --- apps/tile/environment.mu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 60e85004..af8e122a 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -203,11 +203,11 @@ fn render-column screen: (addr screen), first-word: (addr word), final-word: (ad # render stack var curr-row/edx: int <- copy botleft-depth curr-row <- add 6 # input-row 3 + stack-margin-top 3 - var i/eax: int <- int-stack-length stack-addr - curr-row <- subtract i + var stack-remaining/eax: int <- int-stack-length stack-addr + curr-row <- subtract stack-remaining start-color screen, 0, 2 { - compare i, 0 + compare stack-remaining, 0 break-if-<= move-cursor screen, curr-row, botleft-col { @@ -220,7 +220,7 @@ fn render-column screen: (addr screen), first-word: (addr word), final-word: (ad } reset-formatting screen curr-row <- increment - i <- decrement + stack-remaining <- decrement loop } -- cgit 1.4.1-2-gfad0