about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-16 19:17:58 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-18 00:44:50 -0700
commit4aad632748c5f33adba278e575543947a6d24d44 (patch)
treee431b851e88dedc6ae8798bad0233ebd2dd5e9ee
parentc2d7870ba5a2d457ca9b57b2c690a228afe34125 (diff)
downloadmu-4aad632748c5f33adba278e575543947a6d24d44.tar.gz
mu.subx: fix strings in inc/dec Primitives
-rw-r--r--apps/mu.subx129
1 files changed, 99 insertions, 30 deletions
diff --git a/apps/mu.subx b/apps/mu.subx
index eabe25b0..e6efc3de 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -8888,13 +8888,13 @@ _string_increment_eax:
 _Primitive-increment-ecx:
     # var/ecx <- increment => 41/increment-ecx
     0x11/imm32/alloc-id:fake
-    "increment"/imm32/name
+    _string-increment/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-ecx/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "41/increment-ecx"/imm32/subx-name
+    _string_increment_ecx/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -8902,16 +8902,21 @@ _Primitive-increment-ecx:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-increment-edx/imm32/next
+_string_increment_ecx:
+    0x11/imm32/alloc-id:fake
+    # "41/increment-ecx"
+    0x10/imm32/size
+    0x34/4 0x31/1 0x2f/slash 0x69/i 0x6e/n 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x63/c 0x78/x
 _Primitive-increment-edx:
     # var/edx <- increment => 42/increment-edx
     0x11/imm32/alloc-id:fake
-    "increment"/imm32/name
+    _string-increment/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-edx/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "42/increment-edx"/imm32/subx-name
+    _string_increment_edx/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -8919,16 +8924,21 @@ _Primitive-increment-edx:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-increment-ebx/imm32/next
+_string_increment_edx:
+    0x11/imm32/alloc-id:fake
+    # "42/increment-edx"
+    0x10/imm32/size
+    0x34/4 0x32/2 0x2f/slash 0x69/i 0x6e/n 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x64/d 0x78/x
 _Primitive-increment-ebx:
     # var/ebx <- increment => 43/increment-ebx
     0x11/imm32/alloc-id:fake
-    "increment"/imm32/name
+    _string-increment/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-ebx/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "43/increment-ebx"/imm32/subx-name
+    _string_increment_ebx/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -8936,16 +8946,21 @@ _Primitive-increment-ebx:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-increment-esi/imm32/next
+_string_increment_ebx:
+    0x11/imm32/alloc-id:fake
+    # "43/increment-ebx"
+    0x10/imm32/size
+    0x34/4 0x33/3 0x2f/slash 0x69/i 0x6e/n 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x62/b 0x78/x
 _Primitive-increment-esi:
     # var/esi <- increment => 46/increment-esi
     0x11/imm32/alloc-id:fake
-    "increment"/imm32/name
+    _string-increment/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-esi/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "46/increment-esi"/imm32/subx-name
+    _string_increment_esi/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -8953,16 +8968,21 @@ _Primitive-increment-esi:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-increment-edi/imm32/next
+_string_increment_esi:
+    0x11/imm32/alloc-id:fake
+    # "46/increment-esi"
+    0x10/imm32/size
+    0x34/4 0x36/6 0x2f/slash 0x69/i 0x6e/n 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x73/s 0x69/i
 _Primitive-increment-edi:
     # var/edi <- increment => 47/increment-edi
     0x11/imm32/alloc-id:fake
-    "increment"/imm32/name
+    _string-increment/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-edi/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "47/increment-edi"/imm32/subx-name
+    _string_increment_edi/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -8970,16 +8990,21 @@ _Primitive-increment-edi:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-decrement-eax/imm32/next
+_string_increment_edi:
+    0x11/imm32/alloc-id:fake
+    # "47/increment-edi"
+    0x10/imm32/size
+    0x34/4 0x37/7 0x2f/slash 0x69/i 0x6e/n 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x64/d 0x69/i
 _Primitive-decrement-eax:
     # var/eax <- decrement => 48/decrement-eax
     0x11/imm32/alloc-id:fake
-    "decrement"/imm32/name
+    _string-decrement/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-eax/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "48/decrement-eax"/imm32/subx-name
+    _string_decrement_eax/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -8987,16 +9012,25 @@ _Primitive-decrement-eax:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-decrement-ecx/imm32/next
+_string-decrement:
+    # "decrement"
+    0x9/imm32/size
+    0x64/d 0x65/e 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t
+_string_decrement_eax:
+    0x11/imm32/alloc-id:fake
+    # "48/decrement-eax"
+    0x10/imm32/size
+    0x34/4 0x38/8 0x2f/slash 0x64/d 0x65/e 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x61/a 0x78/x
 _Primitive-decrement-ecx:
     # var/ecx <- decrement => 49/decrement-ecx
     0x11/imm32/alloc-id:fake
-    "decrement"/imm32/name
+    _string-decrement/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-ecx/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "49/decrement-ecx"/imm32/subx-name
+    _string_decrement_ecx/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -9004,16 +9038,21 @@ _Primitive-decrement-ecx:
     0x11/imm32/alloc-id:fake
     0/imm32/output-is-write-only
     _Primitive-decrement-edx/imm32/next
+_string_decrement_ecx:
+    0x11/imm32/alloc-id:fake
+    # "49/decrement-ecx"
+    0x10/imm32/size
+    0x34/4 0x39/9 0x2f/slash 0x64/d 0x65/e 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x63/c 0x78/x
 _Primitive-decrement-edx:
     # var/edx <- decrement => 4a/decrement-edx
     0x11/imm32/alloc-id:fake
-    "decrement"/imm32/name
+    _string-decrement/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-edx/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "4a/decrement-edx"/imm32/subx-name
+    _string_decrement_edx/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -9021,16 +9060,21 @@ _Primitive-decrement-edx:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-decrement-ebx/imm32/next
+_string_decrement_edx:
+    0x11/imm32/alloc-id:fake
+    # "4a/decrement-edx"
+    0x10/imm32/size
+    0x34/4 0x3a/a 0x2f/slash 0x64/d 0x65/e 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x64/d 0x78/x
 _Primitive-decrement-ebx:
     # var/ebx <- decrement => 4b/decrement-ebx
     0x11/imm32/alloc-id:fake
-    "decrement"/imm32/name
+    _string-decrement/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-ebx/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "4b/decrement-ebx"/imm32/subx-name
+    _string_decrement_ebx/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -9038,16 +9082,21 @@ _Primitive-decrement-ebx:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-decrement-esi/imm32/next
+_string_decrement_ebx:
+    0x11/imm32/alloc-id:fake
+    # "4b/decrement-ebx"
+    0x10/imm32/size
+    0x34/4 0x3b/b 0x2f/slash 0x64/d 0x65/e 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x62/b 0x78/x
 _Primitive-decrement-esi:
     # var/esi <- decrement => 4e/decrement-esi
     0x11/imm32/alloc-id:fake
-    "decrement"/imm32/name
+    _string-decrement/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-esi/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "4e/decrement-esi"/imm32/subx-name
+    _string_decrement_esi/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -9055,16 +9104,21 @@ _Primitive-decrement-esi:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-decrement-edi/imm32/next
+_string_decrement_esi:
+    0x11/imm32/alloc-id:fake
+    # "4e/decrement-esi"
+    0x10/imm32/size
+    0x34/4 0x3e/e 0x2f/slash 0x64/d 0x65/e 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x73/s 0x69/i
 _Primitive-decrement-edi:
     # var/edi <- decrement => 4f/decrement-edi
     0x11/imm32/alloc-id:fake
-    "decrement"/imm32/name
+    _string-decrement/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-edi/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "4f/decrement-edi"/imm32/subx-name
+    _string_decrement_edi/imm32/subx-name
     0/imm32/no-rm32
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -9072,16 +9126,21 @@ _Primitive-decrement-edi:
     0x11/imm32/alloc-id:fake
     0/imm32/output-is-write-only
     _Primitive-increment-mem/imm32/next
+_string_decrement_edi:
+    0x11/imm32/alloc-id:fake
+    # "4f/decrement-edi"
+    0x10/imm32/size
+    0x34/4 0x3f/f 0x2f/slash 0x64/d 0x65/e 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x64/d 0x69/i
 _Primitive-increment-mem:
     # increment var => ff 0/subop/increment *(ebp+__)
     0x11/imm32/alloc-id:fake
-    "increment"/imm32/name
+    _string-increment/imm32/name
     0x11/imm32/alloc-id:fake
     Single-int-var-in-mem/imm32/inouts
     0/imm32/no-outputs
     0/imm32/no-outputs
     0x11/imm32/alloc-id:fake
-    "ff 0/subop/increment"/imm32/subx-name
+    _string_ff_subop_increment/imm32/subx-name
     1/imm32/rm32-is-first-inout
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -9089,16 +9148,21 @@ _Primitive-increment-mem:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-increment-reg/imm32/next
+_string_ff_subop_increment:
+    0x11/imm32/alloc-id:fake
+    # "ff 0/subop/increment"
+    0x14/imm32/size
+    0x66/f 0x66/f 0x30/0 0x2f/slash 0x73/s 0x75/u 0x62/b 0x6f/o 0x70/p 0x2f/slash 0x69/i 0x6e/n 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t
 _Primitive-increment-reg:
     # var/reg <- increment => ff 0/subop/increment %__
     0x11/imm32/alloc-id:fake
-    "increment"/imm32/name
+    _string-increment/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-some-register/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "ff 0/subop/increment"/imm32/subx-name
+    _string_ff_subop_increment/imm32/subx-name
     3/imm32/rm32-is-first-output
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -9109,13 +9173,13 @@ _Primitive-increment-reg:
 _Primitive-decrement-mem:
     # decrement var => ff 1/subop/decrement *(ebp+__)
     0x11/imm32/alloc-id:fake
-    "decrement"/imm32/name
+    _string-decrement/imm32/name
     0x11/imm32/alloc-id:fake
     Single-int-var-in-mem/imm32/inouts
     0/imm32/no-outputs
     0/imm32/no-outputs
     0x11/imm32/alloc-id:fake
-    "ff 1/subop/decrement"/imm32/subx-name
+    _string_ff_subop_decrement/imm32/subx-name
     1/imm32/rm32-is-first-inout
     0/imm32/no-r32
     0/imm32/no-imm32
@@ -9123,16 +9187,21 @@ _Primitive-decrement-mem:
     0/imm32/output-is-write-only
     0x11/imm32/alloc-id:fake
     _Primitive-decrement-reg/imm32/next
+_string_ff_subop_decrement:
+    0x11/imm32/alloc-id:fake
+    # "ff 1/subop/decrement"
+    0x14/imm32/size
+    0x66/f 0x66/f 0x31/1 0x2f/slash 0x73/s 0x75/u 0x62/b 0x6f/o 0x70/p 0x2f/slash 0x64/d 0x65/e 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t
 _Primitive-decrement-reg:
     # var/reg <- decrement => ff 1/subop/decrement %__
     0x11/imm32/alloc-id:fake
-    "decrement"/imm32/name
+    _string-decrement/imm32/name
     0/imm32/no-inouts
     0/imm32/no-inouts
     0x11/imm32/alloc-id:fake
     Single-int-var-in-some-register/imm32/outputs
     0x11/imm32/alloc-id:fake
-    "ff 1/subop/decrement"/imm32/subx-name
+    _string_ff_subop_decrement/imm32/subx-name
     3/imm32/rm32-is-first-output
     0/imm32/no-r32
     0/imm32/no-imm32