diff options
-rw-r--r-- | 201register-names.subx | 64 | ||||
-rwxr-xr-x | apps/braces | bin | 46729 -> 46729 bytes | |||
-rwxr-xr-x | apps/calls | bin | 51376 -> 51376 bytes | |||
-rwxr-xr-x | apps/mu | bin | 395979 -> 396171 bytes | |||
-rw-r--r-- | apps/mu.subx | 62 | ||||
-rwxr-xr-x | apps/sigils | bin | 59098 -> 59098 bytes |
6 files changed, 92 insertions, 34 deletions
diff --git a/201register-names.subx b/201register-names.subx index 026393a3..3c18a803 100644 --- a/201register-names.subx +++ b/201register-names.subx @@ -26,14 +26,14 @@ Registers: # (addr stream {(handle array byte), int}) 0x11/imm32/alloc-id $Register-bh/imm32 7/imm32 # for floating-point registers # we don't actually check if these are used when they should be; be careful - 0x11/imm32/alloc-id $Register-Xmm0/imm32 0/imm32 - 0x11/imm32/alloc-id $Register-Xmm1/imm32 1/imm32 - 0x11/imm32/alloc-id $Register-Xmm2/imm32 2/imm32 - 0x11/imm32/alloc-id $Register-Xmm3/imm32 3/imm32 - 0x11/imm32/alloc-id $Register-Xmm4/imm32 4/imm32 - 0x11/imm32/alloc-id $Register-Xmm5/imm32 5/imm32 - 0x11/imm32/alloc-id $Register-Xmm6/imm32 6/imm32 - 0x11/imm32/alloc-id $Register-Xmm7/imm32 7/imm32 + 0x11/imm32/alloc-id $Register-xmm0/imm32 0/imm32 + 0x11/imm32/alloc-id $Register-xmm1/imm32 1/imm32 + 0x11/imm32/alloc-id $Register-xmm2/imm32 2/imm32 + 0x11/imm32/alloc-id $Register-xmm3/imm32 3/imm32 + 0x11/imm32/alloc-id $Register-xmm4/imm32 4/imm32 + 0x11/imm32/alloc-id $Register-xmm5/imm32 5/imm32 + 0x11/imm32/alloc-id $Register-xmm6/imm32 6/imm32 + 0x11/imm32/alloc-id $Register-xmm7/imm32 7/imm32 $Register-eax: 0x11/imm32/alloc-id @@ -115,50 +115,50 @@ $Register-bh: 2/imm32/size 0x62/b 0x68/h -$Register-Xmm0: +$Register-xmm0: 0x11/imm32/alloc-id:fake:payload - # "Xmm0" + # "xmm0" 0x4/imm32/size - 0x58/X 0x6d/m 0x6d/m 0x30/0 + 0x78/x 0x6d/m 0x6d/m 0x30/0 -$Register-Xmm1: +$Register-xmm1: 0x11/imm32/alloc-id:fake:payload - # "Xmm1" + # "xmm1" 0x4/imm32/size - 0x58/X 0x6d/m 0x6d/m 0x31/1 + 0x78/x 0x6d/m 0x6d/m 0x31/1 -$Register-Xmm2: +$Register-xmm2: 0x11/imm32/alloc-id:fake:payload - # "Xmm2" + # "xmm2" 0x4/imm32/size - 0x58/X 0x6d/m 0x6d/m 0x32/2 + 0x78/x 0x6d/m 0x6d/m 0x32/2 -$Register-Xmm3: +$Register-xmm3: 0x11/imm32/alloc-id:fake:payload - # "Xmm3" + # "xmm3" 0x4/imm32/size - 0x58/X 0x6d/m 0x6d/m 0x33/3 + 0x78/x 0x6d/m 0x6d/m 0x33/3 -$Register-Xmm4: +$Register-xmm4: 0x11/imm32/alloc-id:fake:payload - # "Xmm4" + # "xmm4" 0x4/imm32/size - 0x58/X 0x6d/m 0x6d/m 0x34/4 + 0x78/x 0x6d/m 0x6d/m 0x34/4 -$Register-Xmm5: +$Register-xmm5: 0x11/imm32/alloc-id:fake:payload - # "Xmm5" + # "xmm5" 0x4/imm32/size - 0x58/X 0x6d/m 0x6d/m 0x35/5 + 0x78/x 0x6d/m 0x6d/m 0x35/5 -$Register-Xmm6: +$Register-xmm6: 0x11/imm32/alloc-id:fake:payload - # "Xmm6" + # "xmm6" 0x4/imm32/size - 0x58/X 0x6d/m 0x6d/m 0x36/6 + 0x78/x 0x6d/m 0x6d/m 0x36/6 -$Register-Xmm7: +$Register-xmm7: 0x11/imm32/alloc-id:fake:payload - # "Xmm7" + # "xmm7" 0x4/imm32/size - 0x58/X 0x6d/m 0x6d/m 0x37/7 + 0x78/x 0x6d/m 0x6d/m 0x37/7 diff --git a/apps/braces b/apps/braces index 921d8e75..2a7f5ec2 100755 --- a/apps/braces +++ b/apps/braces Binary files differdiff --git a/apps/calls b/apps/calls index 20a3e917..97e8f67c 100755 --- a/apps/calls +++ b/apps/calls Binary files differdiff --git a/apps/mu b/apps/mu index 93992467..3578f813 100755 --- a/apps/mu +++ b/apps/mu Binary files differdiff --git a/apps/mu.subx b/apps/mu.subx index ed6d0322..683df3be 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -10741,10 +10741,11 @@ $dump-vars:end: # Like Registers, but no esp or ebp Mu-registers: # (addr stream {(handle array byte), int}) # a table is a stream - 0x48/imm32/write + 0xa8/imm32/write 0/imm32/read - 0x48/imm32/length + 0xa8/imm32/length # data + # general-purpose registers # it is perfectly ok to use fake alloc-ids -- as long as you never try to reclaim them 0x11/imm32/alloc-id $Mu-register-eax/imm32 0/imm32 0x11/imm32/alloc-id $Mu-register-ecx/imm32 1/imm32 @@ -10752,6 +10753,15 @@ Mu-registers: # (addr stream {(handle array byte), int}) 0x11/imm32/alloc-id $Mu-register-ebx/imm32 3/imm32 0x11/imm32/alloc-id $Mu-register-esi/imm32 6/imm32 0x11/imm32/alloc-id $Mu-register-edi/imm32 7/imm32 + # floating-point registers + 0x11/imm32/alloc-id $Mu-register-xmm0/imm32 0/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm1/imm32 1/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm2/imm32 2/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm3/imm32 3/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm4/imm32 4/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm5/imm32 5/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm6/imm32 6/imm32 + 0x11/imm32/alloc-id $Mu-register-xmm7/imm32 7/imm32 $Mu-register-eax: 0x11/imm32/alloc-id @@ -10783,6 +10793,54 @@ $Mu-register-edi: 3/imm32/size 0x65/e 0x64/d 0x69/i +$Mu-register-xmm0: + 0x11/imm32/alloc-id:fake:payload + # "xmm0" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x30/0 + +$Mu-register-xmm1: + 0x11/imm32/alloc-id:fake:payload + # "xmm1" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x31/1 + +$Mu-register-xmm2: + 0x11/imm32/alloc-id:fake:payload + # "xmm2" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x32/2 + +$Mu-register-xmm3: + 0x11/imm32/alloc-id:fake:payload + # "xmm3" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x33/3 + +$Mu-register-xmm4: + 0x11/imm32/alloc-id:fake:payload + # "xmm4" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x34/4 + +$Mu-register-xmm5: + 0x11/imm32/alloc-id:fake:payload + # "xmm5" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x35/5 + +$Mu-register-xmm6: + 0x11/imm32/alloc-id:fake:payload + # "xmm6" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x36/6 + +$Mu-register-xmm7: + 0x11/imm32/alloc-id:fake:payload + # "xmm7" + 0x4/imm32/size + 0x78/x 0x6d/m 0x6d/m 0x37/7 + == code # return first 'name' from the top (back) of 'vars' and create a new var for a fn output if not found diff --git a/apps/sigils b/apps/sigils index 64129139..7c99b943 100755 --- a/apps/sigils +++ b/apps/sigils Binary files differ |