about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
Diffstat (limited to 'subx/apps')
-rwxr-xr-xsubx/apps/crenshaw2-1bin14191 -> 14144 bytes
-rwxr-xr-xsubx/apps/crenshaw2-1bbin14750 -> 14703 bytes
-rwxr-xr-xsubx/apps/factorialbin13109 -> 13062 bytes
-rwxr-xr-xsubx/apps/handlebin13902 -> 13855 bytes
-rwxr-xr-xsubx/apps/hexbin17170 -> 17123 bytes
-rw-r--r--subx/apps/hex.subx12
6 files changed, 6 insertions, 6 deletions
diff --git a/subx/apps/crenshaw2-1 b/subx/apps/crenshaw2-1
index 1d314e4e..8010cdac 100755
--- a/subx/apps/crenshaw2-1
+++ b/subx/apps/crenshaw2-1
Binary files differdiff --git a/subx/apps/crenshaw2-1b b/subx/apps/crenshaw2-1b
index b18e13a1..3cdb555e 100755
--- a/subx/apps/crenshaw2-1b
+++ b/subx/apps/crenshaw2-1b
Binary files differdiff --git a/subx/apps/factorial b/subx/apps/factorial
index dc2b81ad..4489b6ad 100755
--- a/subx/apps/factorial
+++ b/subx/apps/factorial
Binary files differdiff --git a/subx/apps/handle b/subx/apps/handle
index 6a6d12f9..65b94caa 100755
--- a/subx/apps/handle
+++ b/subx/apps/handle
Binary files differdiff --git a/subx/apps/hex b/subx/apps/hex
index 95f1956c..66aa0dce 100755
--- a/subx/apps/hex
+++ b/subx/apps/hex
Binary files differdiff --git a/subx/apps/hex.subx b/subx/apps/hex.subx
index 0d2caefe..52e910f8 100644
--- a/subx/apps/hex.subx
+++ b/subx/apps/hex.subx
@@ -131,10 +131,10 @@ convert-next-octet:  # in : (address buffered-file), err : (address buffered-fil
     # pseudocode:
     #   EAX = scan-next-byte(in, err, ed)
     #   if (EAX == 0xffffffff) return
-    #   ECX = parse-hex-digit(EAX)
+    #   ECX = from-hex-char(EAX)
     #   EAX = scan-next-byte(in, err, ed)
     #   if (EAX == 0xffffffff) error("partial byte found.")
-    #   EAX = parse-hex-digit(EAX)
+    #   EAX = from-hex-char(EAX)
     #   EAX = (ECX << 4) | EAX
     #   return
     #
@@ -155,8 +155,8 @@ convert-next-octet:  # in : (address buffered-file), err : (address buffered-fil
     # if (EAX == 0xffffffff) return
     81          7/subop/compare     3/mod/direct    0/rm32/EAX    .           .             .           .           .               0xffffffff/imm32  # compare EAX
     74/jump-if-equal  $convert-next-octet:end/disp8
-    # EAX = parse-hex-digit(EAX)
-    e8/call parse-hex-digit/disp32
+    # EAX = from-hex-char(EAX)
+    e8/call from-hex-char/disp32
     # ECX = EAX
     89/copy                         3/mod/direct    1/rm32/ECX    .           .             .           0/r32/EAX   .               .                 # copy EAX to ECX
     # EAX = scan-next-byte(in, err, ed)
@@ -180,8 +180,8 @@ convert-next-octet:  # in : (address buffered-file), err : (address buffered-fil
     # . . call
     e8/call  error-byte/disp32  # never returns
 $convert-next-octet:convert:
-    # EAX = parse-hex-digit(EAX)
-    e8/call parse-hex-digit/disp32
+    # EAX = from-hex-char(EAX)
+    e8/call from-hex-char/disp32
     # EAX = (ECX << 4) | EAX
     # . ECX <<= 4
     c1/shift    4/subop/left        3/mod/direct    1/rm32/ECX    .           .             .           .           .               4/imm8            # shift ECX left by 4 bits
id'>805d58c6 ^
4a39d12d ^
805d58c6 ^
4bb57a55 ^
672e3e50 ^

a654e4ec ^



e5c11a51 ^






















a654e4ec ^

672e3e50 ^
e5c11a51 ^
a654e4ec ^
204dae92 ^







201458e3 ^
615f4a97 ^
805d58c6 ^










204dae92 ^
805d58c6 ^





































672e3e50 ^


a654e4ec ^
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