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/tensix/edges.s2 # 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 / tensix / edges.s2` 55 lines ยท 1143 bytes Raw Blame History 1 ; edges.s2 -- every line of rv32im.tbl once, with registers and numbers at the edges of their fields. 2 ; edges.expect holds, written by hand before any disassembler was run on it, what GNU objdump 3 ; (-M no-aliases,numeric) must print for each word. Branch and jump targets are absolute (pc + offset), 4 ; pc = 4 x line number counting from 0. 5 lui 31 0xfffff 6 auipc 1 0x80000 7 jal 0 0 1023 1 255 8 jal 30 -1 1023 1 255 9 jalr 5 6 -2048 10 jalr 0 1 2047 11 beq 1 2 0 63 15 1 12 bne 31 30 -1 63 15 1 13 blt 3 4 0 0 4 0 14 bge 5 6 -1 63 0 1 15 bltu 7 8 0 1 0 0 16 bgeu 9 10 0 0 0 1 17 lb 11 12 -1 18 lh 13 14 2047 19 lw 15 16 -2048 20 lbu 17 18 1 21 lhu 19 20 0 22 sb 21 22 -64 31 23 sh 23 24 63 31 24 sw 25 26 -1 31 25 addi 27 28 -2048 26 slti 29 30 2047 27 sltiu 31 0 -1 28 xori 1 2 -1 29 ori 3 4 1365 30 andi 5 6 255 31 slli 7 8 31 32 srli 9 10 1 33 srai 11 12 31 34 add 31 30 29 35 sub 1 2 3 36 sll 4 5 6 37 slt 7 8 9 38 sltu 10 11 12 39 xor 13 14 15 40 srl 16 17 18 41 sra 19 20 21 42 or 22 23 24 43 and 25 26 27 44 fence 15 15 45 fence 2 1 46 ecall 47 ebreak 48 mul 28 29 30 49 mulh 31 1 2 50 mulhsu 3 4 5 51 mulhu 6 7 8 52 div 9 10 11 53 divu 12 13 14 54 rem 15 16 17 55 remu 18 19 20