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/tools/sm121dis/oracle_pairs.sh # 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 / tools / sm121dis / oracle_pairs.sh` 15 lines ยท 816 bytes Raw Blame History 1 #!/bin/sh 2 # oracle_pairs.sh : one line per instruction, " ;", 3 # text with spacing collapsed but the space before the semicolon kept (nvdisasm leaves it out on padding words). 4 # The C6 oracle side (docs/OMEGA.md): nvdisasm decodes, nothing it prints enters a kernel. 5 awk ' 6 /^[[:space:]]*\/\*[0-9a-f]+\*\// { 7 line = $0 8 addr = line; sub(/^[[:space:]]*\/\*/, "", addr); sub(/\*\/.*/, "", addr) 9 txt = line; sub(/^[[:space:]]*\/\*[0-9a-f]+\*\/[[:space:]]*/, "", txt); sub(/;.*$/, ";", txt) 10 lo = line; sub(/.*\/\* 0x/, "", lo); sub(/ \*\/.*/, "", lo) 11 gsub(/[[:space:]]+/, " ", txt) 12 pend = 1; next 13 } 14 pend && /\/\* 0x[0-9a-f]+ \*\// { hi = $0; sub(/.*\/\* 0x/, "", hi); sub(/ \*\/.*/, "", hi); print addr, lo, hi, txt; pend = 0 } 15 ' "$1"