about summary refs log tree commit diff stats
path: root/subx/apps/subx-common.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-08 00:30:43 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-08 00:30:43 -0700
commitfc07ee4f54b4596f41d47f663ee1370e07cf0847 (patch)
tree62f627907baa038f94c2b3d2982d31d2772cc6e1 /subx/apps/subx-common.subx
parent597ce7a94304f962587516babbcbb18914ebf93f (diff)
downloadmu-fc07ee4f54b4596f41d47f663ee1370e07cf0847.tar.gz
.
Diffstat (limited to 'subx/apps/subx-common.subx')
-rw-r--r--subx/apps/subx-common.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/apps/subx-common.subx b/subx/apps/subx-common.subx
index 6ab82884..d71cd373 100644
--- a/subx/apps/subx-common.subx
+++ b/subx/apps/subx-common.subx
@@ -1350,13 +1350,13 @@ is-label?: # word : (address slice) -> EAX : boolean
     8b/copy                         1/mod/*+disp8   5/rm32/EBP    .           .             .           1/r32/ECX   8/disp8         .                 # copy *(EBP+8) to ECX
     # ECX = word->end
     8b/copy                         1/mod/*+disp8   1/rm32/ECX    .           .             .           1/r32/ECX   4/disp8         .                 # copy *(ECX+4) to ECX
-    # *(word->end - 1) == ':'
+    # return *(word->end - 1) == ':'
     # . EAX = 0
     31/xor                          3/mod/direct    0/rm32/EAX    .           .             .           0/r32/EAX   .               .                 # clear EAX
     # . EAX = *((char *) word->end - 1)
     8a/copy-byte                    1/mod/*+disp8   1/rm32/ECX    .           .             .           0/r32/AL    -1/disp8         .                 # copy byte at *(ECX-1) to AL
-    # . (word->end - 1)/EAX == ':'
-    3d/compare-EAX-and  3A/imm32/colon
+    # . return (EAX == ':')
+    3d/compare-EAX-and  0x3a/imm32/colon
     b8/copy-to-EAX  1/imm32/true
     74/jump-if-equal  $is-label?:end/disp8
     b8/copy-to-EAX  0/imm32/false
or Kartik K. Agaram <vc@akkartik.com> 2015-07-29 14:37:57 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-07-29 14:37:57 -0700 1883 - type-deducing in more .mu files' href='/akkartik/mu/commit/063list.mu?h=main&id=502d2ea540bbb66f2bb5e649c7c7743973859092'>502d2ea5 ^
cc4b1029 ^
87ef6a67 ^

4c3e1f07 ^
77d5b5d6 ^
4c3e1f07 ^

87ef6a67 ^

cc4b1029 ^
77d5b5d6 ^
4c3e1f07 ^



87ef6a67 ^

687dd3f5 ^
4c3e1f07 ^







87ef6a67 ^







fca48e92 ^









afb467ea ^









fca48e92 ^





fca48e92 ^
















afb467ea ^
















fca48e92 ^

67bc24e7 ^



c9b98c21 ^
67bc24e7 ^


c9b98c21 ^
67bc24e7 ^

afb467ea ^











1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137