about summary refs log tree commit diff stats
path: root/tutorial
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-16 07:27:52 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-16 07:27:52 -0800
commitb43e72b704bcbd2f99e2f5fa488e0f250f61171f (patch)
treed2ed6533b17393a9ac5a18e64c85282660f7620f /tutorial
parenta79de8773d56a7c7d003c973ac584eb9301e6861 (diff)
downloadmu-b43e72b704bcbd2f99e2f5fa488e0f250f61171f.tar.gz
tutorial: remove an unnecessary detail
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