about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--apps/calls.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/calls.subx b/apps/calls.subx
index 030509ed..0e4d113e 100644
--- a/apps/calls.subx
+++ b/apps/calls.subx
@@ -823,7 +823,7 @@ $next-word-string-or-expression-without-metadata:check0:
     # . ecx = line->read
     8b/-> *(esi+4) 1/r32/ecx
     # . if (ecx >= line->write) return out = {0, 0}
-    3b/compare *esi 1/r32/ecx
+    3b/compare 1/r32/ecx *esi
     0f 8d/jump-if-greater-or-equal $next-word-string-or-expression-without-metadata:return-eol/disp32
 $next-word-string-or-expression-without-metadata:check-for-comment:
     # out->start = &line->data[line->read]
@@ -909,7 +909,7 @@ $next-word-string-or-expression-without-metadata:check-for-end-of-call:
     # . ecx = line->read
     8b/-> *(esi+4) 1/r32/ecx
     # . if (ecx >= line->write) return {0, 0}
-    3b/compare *esi 1/r32/ecx
+    3b/compare 1/r32/ecx *esi
     0f 8d/jump-if-greater-or-equal $next-word-string-or-expression-without-metadata:return-eol/disp32
     # if (line->data[line->read] == '/') goto error3
     # . eax = line->data[line->read]
@@ -928,7 +928,7 @@ $next-word-string-or-expression-without-metadata:check-for-end-of-call:
     # . ecx = line->read
     8b/-> *(esi+4) 1/r32/ecx
     # . if (ecx >= line->write) return {0, 0}
-    3b/compare *esi 1/r32/ecx
+    3b/compare 1/r32/ecx *esi
     0f 8d/jump-if-greater-or-equal $next-word-string-or-expression-without-metadata:return-eol/disp32
     # if (line->data[line->read] == '#') return out = {0, 0}
     # . eax = line->data[line->read]