diff options
-rw-r--r-- | apps/browse.mu | 2 | ||||
-rw-r--r-- | prototypes/browse/10.mu | 2 | ||||
-rw-r--r-- | prototypes/browse/4-render-page.mu | 2 | ||||
-rw-r--r-- | prototypes/browse/5.mu | 2 | ||||
-rw-r--r-- | prototypes/browse/6.mu | 2 | ||||
-rw-r--r-- | prototypes/browse/7.mu | 2 | ||||
-rw-r--r-- | prototypes/browse/8-multiple-pages.mu | 2 | ||||
-rw-r--r-- | prototypes/browse/9-bold.mu | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/apps/browse.mu b/apps/browse.mu index 1bd681dd..10dd65b1 100644 --- a/apps/browse.mu +++ b/apps/browse.mu @@ -64,7 +64,7 @@ fn render-page in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, clear toprow, leftcol, botrow, rightcol # render screen rows var row/ecx: int <- copy toprow -$line-loop: { +$line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol diff --git a/prototypes/browse/10.mu b/prototypes/browse/10.mu index e22f689f..88c4d5c9 100644 --- a/prototypes/browse/10.mu +++ b/prototypes/browse/10.mu @@ -60,7 +60,7 @@ fn render in: (addr buffered-file), nrows: int, ncols: int { fn render-page in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, rightcol: int, r: (addr render-state) { clear toprow, leftcol, botrow, rightcol var row/ecx: int <- copy toprow -$line-loop: { +$line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol diff --git a/prototypes/browse/4-render-page.mu b/prototypes/browse/4-render-page.mu index bc8c6a55..79457aa0 100644 --- a/prototypes/browse/4-render-page.mu +++ b/prototypes/browse/4-render-page.mu @@ -17,7 +17,7 @@ fn main args: (addr array (addr array byte)) -> exit-status/ebx: int { fn render in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, rightcol: int { clear toprow, leftcol, botrow, rightcol var row/ecx: int <- copy toprow -$line-loop: { +$line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol diff --git a/prototypes/browse/5.mu b/prototypes/browse/5.mu index d2d619cc..06fa719b 100644 --- a/prototypes/browse/5.mu +++ b/prototypes/browse/5.mu @@ -17,7 +17,7 @@ fn main args: (addr array (addr array byte)) -> exit-status/ebx: int { fn render in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, rightcol: int { clear toprow, leftcol, botrow, rightcol var row/ecx: int <- copy toprow -$line-loop: { +$line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol diff --git a/prototypes/browse/6.mu b/prototypes/browse/6.mu index 9685ab43..99080c54 100644 --- a/prototypes/browse/6.mu +++ b/prototypes/browse/6.mu @@ -28,7 +28,7 @@ fn render in: (addr buffered-file), nrows: int, ncols: int { fn render-page in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, rightcol: int { clear toprow, leftcol, botrow, rightcol var row/ecx: int <- copy toprow -$line-loop: { +$line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol diff --git a/prototypes/browse/7.mu b/prototypes/browse/7.mu index 7611ae25..dd95d67f 100644 --- a/prototypes/browse/7.mu +++ b/prototypes/browse/7.mu @@ -32,7 +32,7 @@ fn render in: (addr buffered-file), nrows: int, ncols: int { fn render-page in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, rightcol: int { clear toprow, leftcol, botrow, rightcol var row/ecx: int <- copy toprow -$line-loop: { +$line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol diff --git a/prototypes/browse/8-multiple-pages.mu b/prototypes/browse/8-multiple-pages.mu index 120ef872..f35a1d1e 100644 --- a/prototypes/browse/8-multiple-pages.mu +++ b/prototypes/browse/8-multiple-pages.mu @@ -48,7 +48,7 @@ fn render in: (addr buffered-file), nrows: int, ncols: int { fn render-page in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, rightcol: int { clear toprow, leftcol, botrow, rightcol var row/ecx: int <- copy toprow -$line-loop: { +$line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol diff --git a/prototypes/browse/9-bold.mu b/prototypes/browse/9-bold.mu index a0dd6676..c2d9bfaa 100644 --- a/prototypes/browse/9-bold.mu +++ b/prototypes/browse/9-bold.mu @@ -55,7 +55,7 @@ fn render in: (addr buffered-file), nrows: int, ncols: int { fn render-page in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, rightcol: int, r: (addr render-state) { clear toprow, leftcol, botrow, rightcol var row/ecx: int <- copy toprow -$line-loop: { +$line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol |