diff options
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 |