* Show group-level details of commands Details can be defined at either a group command or its subcommand of the same name. If define on group-level it will also be shown in the group help without needing ??. * Fix > $ redirection for errored command and leak * Rewrite ar and dr commands with newshell Breaking changes: ar* => arf, ar- => arf-, ar. => ar* ar, => art, ar? => arq ar0 => ara0, arb => arab, ars => araS arC => arpC arn => arR art => arT arf => arF Removed: drm, aer
69 lines
No EOL
960 B
Text
69 lines
No EOL
960 B
Text
NAME=RISC-V ESIL for arithmetic word instructions
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=riscv
|
|
e asm.bits=64
|
|
wx 1304500093083000139ff8013308e4413b071801bb030703
|
|
aei
|
|
6aes
|
|
ar a6
|
|
ar t2
|
|
EOF
|
|
EXPECT=<<EOF
|
|
a6 = 0xfffffffe80000005
|
|
t2 = 0xffffffff80000028
|
|
EOF
|
|
RUN
|
|
|
|
NAME=RISC-V ESIL for shift word instructions
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=riscv
|
|
e asm.bits=64
|
|
wx e5267d76359ebb15d6003b57d600bb07b740
|
|
aei
|
|
6aes
|
|
ar a5
|
|
EOF
|
|
EXPECT=<<EOF
|
|
a5 = 0xffffffffce00007f
|
|
EOF
|
|
RUN
|
|
|
|
NAME=RISC-V ESIL for load instructions
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=riscv
|
|
e asm.bits=64
|
|
wx 37f65aff32e09246036701008317210003081100
|
|
aei
|
|
aeim
|
|
6aes
|
|
ar a3
|
|
ar a4
|
|
ar a5
|
|
ar a6
|
|
EOF
|
|
EXPECT=<<EOF
|
|
a3 = 0xffffffffffffffff
|
|
a4 = 0xff5af000
|
|
a5 = 0xffffffffffffff5a
|
|
a6 = 0xfffffffffffffff0
|
|
EOF
|
|
RUN
|
|
|
|
NAME=RISC-V ESIL for compressed word instructions
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=riscv
|
|
e asm.bits=64
|
|
wx 7d76518f1d26319e119f
|
|
aei
|
|
aeim
|
|
5aes
|
|
ar a4
|
|
EOF
|
|
EXPECT=<<EOF
|
|
a4 = 0x00000ff2
|
|
EOF
|
|
RUN |