From 6adf8f912ba43d01a833a40d8aada36823f301e8 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Thu, 21 May 2020 11:11:16 +0200 Subject: [PATCH] Fix cmpcx->cmp cx --- src/chapter-31.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chapter-31.md b/src/chapter-31.md index 677c870..7d5247f 100644 --- a/src/chapter-31.md +++ b/src/chapter-31.md @@ -309,7 +309,7 @@ ColorLoop: ; line descriptor list LineLoop: mov cx,[si+StartX] ;set the initial X coordinate - cmpcx,-1 + cmp cx,-1 jz LinesDone ;a descriptor with a -1 X ; coordinate marks the end ; of the list