about summary refs log tree commit diff stats
path: root/baremetal/ex2.mu
diff options
context:
space:
mode:
Diffstat (limited to 'baremetal/ex2.mu')
-rw-r--r--baremetal/ex2.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/baremetal/ex2.mu b/baremetal/ex2.mu
index d7a5e0c4..1662fa84 100644
--- a/baremetal/ex2.mu
+++ b/baremetal/ex2.mu
@@ -13,11 +13,11 @@
 fn main {
   var y/eax: int <- copy 0
   {
-    compare y, 0x300  # 768
+    compare y, 0x300  # screen-height = 768
     break-if->=
     var x/edx: int <- copy 0
     {
-      compare x, 0x400  # 1024
+      compare x, 0x400  # screen-width = 1024
       break-if->=
       var color/ecx: int <- copy x
       color <- and 0xff