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