about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-02 16:58:30 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-02 16:58:30 -0800
commit0043952064be14219ca6c428802467b49e6018a3 (patch)
treeb93f25aa54a27080904510b7e7bf222dabca4410 /subx
parentc98d4b1c6ae2d103acc7b4f15e4dc6336f30de17 (diff)
downloadmu-0043952064be14219ca6c428802467b49e6018a3.tar.gz
4819
Diffstat (limited to 'subx')
-rw-r--r--subx/052kernel_string_equal.subx6
-rw-r--r--subx/056write.subx2
-rw-r--r--subx/058read.subx4
-rw-r--r--subx/059read-byte.subx6
-rw-r--r--subx/apps/crenshaw2-1.subx2
-rw-r--r--subx/apps/crenshaw2-1b.subx6
-rw-r--r--subx/apps/factorial.subx2
-rw-r--r--subx/examples/ex11.subx6
8 files changed, 17 insertions, 17 deletions
diff --git a/subx/052kernel_string_equal.subx b/subx/052kernel_string_equal.subx
index 3ed0fd5d..2834b047 100644
--- a/subx/052kernel_string_equal.subx
+++ b/subx/052kernel_string_equal.subx
@@ -200,7 +200,7 @@ test-compare-kernel-string-with-empty-array:
     e8/call  kernel-string-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 0)
+    # check-ints-equal(EAX, 0, msg)
     # . . push args
     68/push  "F - test-compare-kernel-string-with-equal-array"/imm32
     68/push  0/imm32/false
@@ -220,7 +220,7 @@ test-compare-kernel-string-with-shorter-array:
     e8/call  kernel-string-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 0)
+    # check-ints-equal(EAX, 0, msg)
     # . . push args
     68/push  "F - test-compare-kernel-string-with-shorter-array"/imm32
     68/push  0/imm32/false
@@ -240,7 +240,7 @@ test-compare-kernel-string-with-longer-array:
     e8/call  kernel-string-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 0)
+    # check-ints-equal(EAX, 0, msg)
     # . . push args
     68/push  "F - test-compare-kernel-string-with-longer-array"/imm32
     68/push  0/imm32/false
diff --git a/subx/056write.subx b/subx/056write.subx
index a76dd12e..3496d980 100644
--- a/subx/056write.subx
+++ b/subx/056write.subx
@@ -136,7 +136,7 @@ test-write-single:
     e8/call  write/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 2)
+    # check-ints-equal(EAX, 2, msg)
     # . . push args
     68/push  "F - test-read-single: return EAX"/imm32
     68/push  2/imm32
diff --git a/subx/058read.subx b/subx/058read.subx
index 291df30b..90425a74 100644
--- a/subx/058read.subx
+++ b/subx/058read.subx
@@ -210,7 +210,7 @@ test-read-single:
     e8/call  read/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 2)
+    # check-ints-equal(EAX, 2, msg)
     # . . push args
     68/push  "F - test-read-single: return EAX"/imm32
     68/push  2/imm32
@@ -338,7 +338,7 @@ test-read-returns-0-on-end-of-file:
     e8/call  read/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 0)
+    # check-ints-equal(EAX, 0, msg)
     # . . push args
     68/push  "F - test-read-returns-0-on-end-of-file"/imm32
     68/push  0/imm32
diff --git a/subx/059read-byte.subx b/subx/059read-byte.subx
index b00d482c..7dd9658e 100644
--- a/subx/059read-byte.subx
+++ b/subx/059read-byte.subx
@@ -132,7 +132,7 @@ test-read-byte-single:
     e8/call  read-byte/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
-    # check-ints-equal(EAX, 'A')
+    # check-ints-equal(EAX, 'A', msg)
     # . . push args
     68/push  "F - test-read-byte-single"/imm32
     68/push  0x41/imm32
@@ -185,7 +185,7 @@ test-read-byte-multiple:
     e8/call  read-byte/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
-    # check-ints-equal(EAX, 'b')
+    # check-ints-equal(EAX, 'b', msg)
     # . . push args
     68/push  "F - test-read-byte-multiple"/imm32
     68/push  0x62/imm32
@@ -223,7 +223,7 @@ test-read-byte-end-of-file:
     e8/call  read-byte/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
-    # check-ints-equal(EAX, -1)
+    # check-ints-equal(EAX, -1, msg)
     # . . push args
     68/push  "F - test-read-byte-end-of-file"/imm32
     68/push  -1/imm32
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index 3688ef34..a246a594 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -375,7 +375,7 @@ test-get-num-reads-single-digit:
     # registers except ESP may be clobbered at this point
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
-    # check-ints-equal(*_test-output-stream->data, '3')
+    # check-ints-equal(*_test-output-stream->data, '3', msg)
     # . . push args
     68/push  "F - test-get-num-reads-single-digit"/imm32
     68/push  0x33/imm32
diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx
index d6fc6dee..08786b90 100644
--- a/subx/apps/crenshaw2-1b.subx
+++ b/subx/apps/crenshaw2-1b.subx
@@ -392,7 +392,7 @@ test-get-num-reads-single-digit:
     # registers except ESP may be clobbered at this point
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
-    # check-ints-equal(*_test-output-stream->data, '3')
+    # check-ints-equal(*_test-output-stream->data, '3', msg)
     # . . push args
     68/push  "F - test-get-num-reads-single-digit"/imm32
     68/push  0x33/imm32
@@ -568,7 +568,7 @@ test-get-num-reads-multiple-digits:
     # registers except ESP may be clobbered at this point
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
-    # check-ints-equal(*_test-output-stream->data, '3456')
+    # check-ints-equal(*_test-output-stream->data, '3456', msg)
     # . . push args
     68/push  "F - test-get-num-reads-multiple-digits"/imm32
     68/push  0x36353433/imm32
@@ -659,7 +659,7 @@ test-get-num-reads-multiple-digits-followed-by-nondigit:
     # registers except ESP may be clobbered at this point
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
-    # check-ints-equal(*_test-output-stream->data, '3456')
+    # check-ints-equal(*_test-output-stream->data, '3456', msg)
     # . . push args
     68/push  "F - test-get-num-reads-multiple-digits-followed-by-nondigit"/imm32
     68/push  0x36353433/imm32
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx
index bf2dd75e..73735fab 100644
--- a/subx/apps/factorial.subx
+++ b/subx/apps/factorial.subx
@@ -93,7 +93,7 @@ test-factorial:
     e8/call  factorial/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
-    # check-ints-equal(EAX, 120, failure message)
+    # check-ints-equal(EAX, 120, msg)
     # . . push args
     68/push  "F - test-factorial"/imm32
     68/push  0x78/imm32/expected-120
diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx
index 245452fb..2a92b172 100644
--- a/subx/examples/ex11.subx
+++ b/subx/examples/ex11.subx
@@ -199,7 +199,7 @@ test-compare-kernel-string-with-empty-array:
     e8/call  kernel-string-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 0)
+    # check-ints-equal(EAX, 0, msg)
     # . . push args
     68/push  "F - test-compare-kernel-string-with-equal-array"/imm32
     68/push  0/imm32/false
@@ -219,7 +219,7 @@ test-compare-kernel-string-with-shorter-array:
     e8/call  kernel-string-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 0)
+    # check-ints-equal(EAX, 0, msg)
     # . . push args
     68/push  "F - test-compare-kernel-string-with-shorter-array"/imm32
     68/push  0/imm32/false
@@ -239,7 +239,7 @@ test-compare-kernel-string-with-longer-array:
     e8/call  kernel-string-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
-    # check-ints-equal(EAX, 0)
+    # check-ints-equal(EAX, 0, msg)
     # . . push args
     68/push  "F - test-compare-kernel-string-with-longer-array"/imm32
     68/push  0/imm32/false
Rumpf <rumpf_a@web.de> 2020-06-23 10:53:57 +0200 committer GitHub <noreply@github.com> 2020-06-23 10:53:57 +0200 init checks and 'out' parameters (#14521)' href='/ahoang/Nim/commit/compiler/nimsets.nim?h=devel&id=da29222f86f7689227ffe12605842d18c9bf0fc1'>da29222f8 ^
93ced3135 ^


db603237c ^
da29222f8 ^
7e747d11c ^



da29222f8 ^
e25474154 ^
d68181246 ^
da29222f8 ^
d68181246 ^
a4e2b0c15 ^
d68181246 ^
e25474154 ^


7e747d11c ^
afbcd1b33 ^
e25474154 ^



7e747d11c ^
d68181246 ^
e25474154 ^

d68181246 ^
92b8fac94 ^
7e747d11c ^
92b8fac94 ^
afbcd1b33 ^
f92f00b02 ^
d68181246 ^
7e747d11c ^
d68181246 ^
e25474154 ^

7e747d11c ^
afbcd1b33 ^
f92f00b02 ^
7e747d11c ^

e25474154 ^
92b8fac94 ^
e25474154 ^
39ebe2175 ^
da29222f8 ^

6f1fc1b5b ^
a4e2b0c15 ^
e25474154 ^
a4e2b0c15 ^



e25474154 ^
a4e2b0c15 ^
da29222f8 ^

e25474154 ^

a4e2b0c15 ^
da29222f8 ^

e25474154 ^

a4e2b0c15 ^
da29222f8 ^
7e747d11c ^
a4e2b0c15 ^
009730595 ^
a4e2b0c15 ^
da29222f8 ^
a4e2b0c15 ^
e4515f304 ^
a4e2b0c15 ^
da29222f8 ^
427490a84 ^
d68181246 ^
5bf31fcab ^

674c05f42 ^
674c05f42 ^
7e747d11c ^

e25474154 ^


5bf31fcab ^
e25474154 ^
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157