diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-02-07 00:17:17 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-02-07 00:20:29 -0800 |
commit | 74f1512ff113cf35706af57e9d40c78b7d77f49e (patch) | |
tree | 7c7acb23e1a26387117e464ec6ab01126dbc8ae8 /baremetal/ex2.mu | |
parent | 6c4c25555c7df0d78ad41c813345f63cae1819de (diff) | |
download | mu-74f1512ff113cf35706af57e9d40c78b7d77f49e.tar.gz |
7690
Convert comments about magic constants into metadata.
Diffstat (limited to 'baremetal/ex2.mu')
-rw-r--r-- | baremetal/ex2.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/baremetal/ex2.mu b/baremetal/ex2.mu index 1662fa84..adc905e9 100644 --- a/baremetal/ex2.mu +++ b/baremetal/ex2.mu @@ -13,11 +13,11 @@ fn main { var y/eax: int <- copy 0 { - compare y, 0x300 # screen-height = 768 + compare y, 0x300/screen-height=768 break-if->= var x/edx: int <- copy 0 { - compare x, 0x400 # screen-width = 1024 + compare x, 0x400/screen-width=1024 break-if->= var color/ecx: int <- copy x color <- and 0xff |