diff options
| author | s-ol <s+removethis@s-ol.nu> | 2021-07-05 12:04:50 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2021-07-05 12:04:50 +0000 |
| commit | c28d88ba9547fd9ec2adf82035453d8fa4e3c77e (patch) | |
| tree | 353078ef9aeb46ee3d6891eca75a828d9b5e54a7 | |
| parent | update format for new pipeline (diff) | |
| download | subv-c28d88ba9547fd9ec2adf82035453d8fa4e3c77e.tar.gz subv-c28d88ba9547fd9ec2adf82035453d8fa4e3c77e.zip | |
update ex.subv to work with new pipeline
| -rw-r--r-- | ex.elf | bin | 8228 -> 8228 bytes | |||
| -rw-r--r-- | ex.subv | 10 |
2 files changed, 5 insertions, 5 deletions
| Binary files differ @@ -5,19 +5,19 @@ main: 37/lui 5/rd/t0 0x10010/imm20 # store 0x48 (H) in UART0+0 13/opi 0/subop/add 6/rd/t1 0/rs/x0 48/imm12 - 23/store 2/subop/word 5/rs/t0 6/rs/t1 0/off12 + 23/store 2/width/word 5/rs/t0 6/rs/t1 0/off12 # store 0x69 (i) in UART0+0 13/opi 0/subop/add 6/rd/t1 0/rs/x0 69/imm12 - 23/store 2/subop/word 5/rs/t0 6/rs/t1 0/off12 + 23/store 2/width/word 5/rs/t0 6/rs/t1 0/off12 # store 0x0a (\n) in UART0+0 13/opi 0/subop/add 6/rd/t1 0/rs/x0 0a/imm12 - 23/store 2/subop/word 5/rs/t0 6/rs/t1 0/off12 + 23/store 2/width/word 5/rs/t0 6/rs/t1 0/off12 # jump back up to the top (three versions): # a) jal 21bit relative (with 0th bit forced to 0) # 6f/jal 0/rd/x0 main/off21 # b) auipc+jalr 32bit relative (note label offset) - 17/auipc 7/rd/t2 main/off32 - 67/jalr 0/subop 0/rd/x0 7/rs/t2 main+4/off32 + 17/auipc 7/rd/t2 main/off20hi + 67/jalr 0/subop 0/rd/x0 7/rs/t2 main+4/off12lo # c) lui+jalr 32bit absolute # 37/lui 7/rd/t2 main/imm32 # 67/jalr 0/subop 0/rd/x0 7/rs/t2 main/imm32 |
