about summary refs log tree commit diff stats
path: root/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/index.md1
-rw-r--r--tutorial/task15.mu1
2 files changed, 0 insertions, 2 deletions
diff --git a/tutorial/index.md b/tutorial/index.md
index b3056076..08610333 100644
--- a/tutorial/index.md
+++ b/tutorial/index.md
@@ -587,7 +587,6 @@ fn main screen: (addr screen) {
       compare x, 0x400/screen-width=1024
       break-if->=
       var color/ecx: int <- copy x
-      color <- and 0xff
       pixel screen x, y, color
       x <- increment
       loop
diff --git a/tutorial/task15.mu b/tutorial/task15.mu
index a53c2454..9aead07f 100644
--- a/tutorial/task15.mu
+++ b/tutorial/task15.mu
@@ -8,7 +8,6 @@ fn main screen: (addr screen) {
       compare x, 0x400/screen-width=1024
       break-if->=
       var color/ecx: int <- copy x
-      color <- and 0xff
       pixel screen x, y, color
       x <- increment
       loop