interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / seed / helix / strand4_ascetic / hexD1.d1

306 lines · 5421 bytes Raw Blame History
1! hexD1.d1 -- Self-hosting labelled source of Rung D1 (1160 B, W^X, vaddr 0x700000).
2! Self-rebuilds bit-for-bit via: hexD1.bin < hexD1.d1 > hexD1.self
37f,45,4c,46,02,01,01,00,00,00,00,00,00,00,00,00 ! ELF-64 file header (64B)
402,00,b7,00,01,00,00,00,78,00,70,00,00,00,00,00
540,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
600,00,00,00,40,00,38,00,01,00,00,00,00,00,00,00
701,00,00,00,05,00,00,00,00,00,00,00,00,00,00,00 ! PT_LOAD PF_R|PF_X (W^X)
800,00,70,00,00,00,00,00,00,00,70,00,00,00,00,00
9* ! p_filesz (auto)
10* ! p_memsz == p_filesz (W^X)
1100,10,00,00,00,00,00,00 ! p_align = 4096
12wd10083ff
13w910003fc
14wd2800000
15wd2800001
16wf2a00401
17wd2800062
18wd2800443
19w92800004
20wd2800005
21wd2801bc8
22wd4000001 ! svc #0
23wd29e0009
24wf2bfffe9
25wf2dfffe9
26wf2ffffe9
27web09001f
28w54000008 ~err_oom ! b.cc err_oom
29waa0003f3
30wd2800000
31wd2800001
32wf2a00401
33wd2800062
34wd2800443
35w92800004
36wd2800005
37wd2801bc8
38wd4000001 ! svc #0
39wd29e0009
40wf2bfffe9
41wf2dfffe9
42wf2ffffe9
43web09001f
44w54000008 ~err_oom ! b.cc err_oom
45waa0003f7
46wd2800000
47wd2800001
48wf2a00101
49wd2800062
50wd2800443
51w92800004
52wd2800005
53wd2801bc8
54wd4000001 ! svc #0
55wd29e0009
56wf2bfffe9
57wf2dfffe9
58wf2ffffe9
59web09001f
60w54000008 ~err_oom ! b.cc err_oom
61waa0003f9
62wd2800014
63wd280001a
64wd280001b
65@rd_loop
66wd2800002
67wf2a00402
68wcb140042
69wb4000002 ~err_cap ! cbz x2, err_cap
70wd2800000
71w8b140261
72wd28007e8
73wd4000001 ! svc #0
74wf100001f
75w54000000 ~rd_done ! b.cc rd_done
76w5400000b ~err_rd ! b.cc err_rd
77w8b000294
78w14000000 &rd_loop ! b rd_loop
79@rd_done
80wd2800015
81@pass_start
82wd2800016
83wd2800018
84@tok_loop
85web1402df
86w54000002 ~pass_done ! b.cc pass_done
87w38766a60
88w910006d6
89w7100801f
90w54000000 ~tok_loop ! b.cc tok_loop
91w7100281f
92w54000000 ~tok_loop ! b.cc tok_loop
93w7100241f
94w54000000 ~tok_loop ! b.cc tok_loop
95w7100341f
96w54000000 ~tok_loop ! b.cc tok_loop
97w7100b01f
98w54000000 ~tok_loop ! b.cc tok_loop
99w7100841f
100w54000001 ~not_cmt ! b.cc not_cmt
101@cmt_lp
102web1402df
103w54000002 ~pass_done ! b.cc pass_done
104w38766a60
105w910006d6
106w7100281f
107w54000001 ~cmt_lp ! b.cc cmt_lp
108w14000000 &tok_loop ! b tok_loop
109@not_cmt
110w7101001f
111w54000001 ~not_def ! b.cc not_def
112w94000000 &rd_name ! bl rd_name
113wb5000015 ~tok_loop ! cbnz x21, tok_loop
114wd37beb41
115w8b010321
116wf9400382
117wf9400783
118wf9000022
119wf9000423
120wf9000838
121w9100075a
122w14000000 &tok_loop ! b tok_loop
123@not_def
124w7101dc1f
125w54000001 ~not_word ! b.cc not_word
126wd2800009
127wd280010a
128@w_lp
129web1402df
130w54000002 ~err_hex ! b.cc err_hex
131w38766a60
132w910006d6
133w94000000 &hex_val ! bl hex_val
134w531c6d29
135w2a000129
136wf100054a
137w54000001 ~w_lp ! b.cc w_lp
138wb4000015 ~w_skip ! cbz x21, w_skip
139wb8386ae9
140@w_skip
141w91001318
142w14000000 &tok_loop ! b tok_loop
143@not_word
144w7101f81f
145w54000001 ~not_b19 ! b.cc not_b19
146w94000000 &rd_name ! bl rd_name
147wb4000015 ~tok_loop ! cbz x21, tok_loop
148w94000000 &find_lbl ! bl find_lbl
149wd1001301
150wcb010000
151w9342fc00
152wd29fffe2
153wf2a000e2
154w8a020000
155wd37be800
156wb8616ae3
157w2a000063
158wb8216ae3
159w14000000 &tok_loop ! b tok_loop
160@not_b19
161w7100981f
162w54000001 ~not_b26 ! b.cc not_b26
163w94000000 &rd_name ! bl rd_name
164wb4000015 ~tok_loop ! cbz x21, tok_loop
165w94000000 &find_lbl ! bl find_lbl
166wd1001301
167wcb010000
168w9342fc00
169wd29fffe2
170wf2a07fe2
171w8a020000
172wb8616ae3
173w2a000063
174wb8216ae3
175w14000000 &tok_loop ! b tok_loop
176@not_b26
177w7100a81f
178w54000001 ~do_byte ! b.cc do_byte
179wb4000015 ~sz_skip ! cbz x21, sz_skip
180wf8386afb
181@sz_skip
182w91002318
183w14000000 &tok_loop ! b tok_loop
184@do_byte
185w94000000 &hex_val ! bl hex_val
186w531c6c09
187web1402df
188w54000002 ~err_hex ! b.cc err_hex
189w38766a60
190w910006d6
191w94000000 &hex_val ! bl hex_val
192w2a000129
193wb4000015 ~b_skip ! cbz x21, b_skip
194w38386ae9
195@b_skip
196w91000718
197w14000000 &tok_loop ! b tok_loop
198@pass_done
199wb5000015 ~write_out ! cbnz x21, write_out
200waa1803fb
201wd2800035
202w14000000 &pass_start ! b pass_start
203@write_out
204wd2800009
205@wr_lp
206web18013f
207w54000002 ~ok_exit ! b.cc ok_exit
208wd2800020
209w8b0902e1
210wcb090302
211wd2800808
212wd4000001 ! svc #0
213wf100001f
214w5400000d ~err_wr ! b.cc err_wr
215w8b000129
216w14000000 &wr_lp ! b wr_lp
217@ok_exit
218wd2800000
219w14000000 &do_exit ! b do_exit
220@hex_val
221w7100c001
222w7100283f
223w54000003 ~hv_ok ! b.cc hv_ok
224w71018401
225w7100183f
226w54000003 ~hv_a10 ! b.cc hv_a10
227w71010401
228w7100183f
229w54000003 ~hv_a10 ! b.cc hv_a10
230wd2800520
231w14000000 &do_exit ! b do_exit
232@hv_a10
233w11002821
234@hv_ok
235w2a0103e0
236wd65f03c0 ! ret
237@rd_name
238wf900039f
239wf900079f
240wd2800001
241@rn_lp
242web1402df
243w54000002 ~rn_done ! b.cc rn_done
244w38766a60
245w7100801f
246w54000000 ~rn_done ! b.cc rn_done
247w7100281f
248w54000000 ~rn_done ! b.cc rn_done
249w7100241f
250w54000000 ~rn_done ! b.cc rn_done
251w7100341f
252w54000000 ~rn_done ! b.cc rn_done
253w7100841f
254w54000000 ~rn_done ! b.cc rn_done
255w7100b01f
256w54000000 ~rn_done ! b.cc rn_done
257wf100403f
258w54000002 ~err_hex ! b.cc err_hex
259w38216b80
260w91000421
261w910006d6
262w14000000 &rn_lp ! b rn_lp
263@rn_done
264wb4000001 ~err_hex ! cbz x1, err_hex
265wd65f03c0 ! ret
266@find_lbl
267wf9400382
268wf9400783
269wd2800001
270@fl_lp
271web1a003f
272w54000002 ~err_lbl ! b.cc err_lbl
273wd37be824
274w8b040324
275wf9400085
276web0200bf
277w54000001 ~fl_nx ! b.cc fl_nx
278wf9400485
279web0300bf
280w54000001 ~fl_nx ! b.cc fl_nx
281wf9400880
282wd65f03c0 ! ret
283@fl_nx
284w91000421
285w14000000 &fl_lp ! b fl_lp
286@err_hex
287wd2800540
288w14000000 &do_exit ! b do_exit
289@err_lbl
290wd2800560
291w14000000 &do_exit ! b do_exit
292@err_wr
293wd2800580
294w14000000 &do_exit ! b do_exit
295@err_rd
296wd28005a0
297w14000000 &do_exit ! b do_exit
298@err_cap
299wd28005c0
300w14000000 &do_exit ! b do_exit
301@err_oom
302wd28005e0
303w14000000 &do_exit ! b do_exit
304@do_exit
305wd2800ba8
306wd4000001 ! svc #0