scf@ubuntu:~/ysyx-workbench/nemu$ make run
+ LD /home/scf/ysyx-workbench/nemu/build/riscv64-nemu-interpreter
/home/scf/ysyx-workbench/nemu/build/riscv64-nemu-interpreter --log=/home/scf/ysyx-workbench/nemu/build/nemu-log.txt
[src/utils/log.c:13 init_log] Log is written to /home/scf/ysyx-workbench/nemu/build/nemu-log.txt
[src/memory/paddr.c:41 init_mem] physical memory area [0x80000000, 0x88000000]
[src/monitor/monitor.c:36 load_img] No image is given. Use the default build-in image.
[src/monitor/monitor.c:13 welcome] Trace: ON
[src/monitor/monitor.c:14 welcome] If trace is enabled, a log file will be generated to record the trace. This may lead to a large log file. If it is not necessary, you can disable it in menuconfig
[src/monitor/monitor.c:17 welcome] Build time: 20:03:21, Mar 29 2022
Welcome to riscv64-NEMU!
For help, type "help"
(nemu) info r
cmd_info received, the arg is r
reg state $0 is 0
reg state ra is 0
reg state sp is 0
reg state gp is 0
reg state tp is 0
reg state t0 is 0
reg state t1 is 0
reg state t2 is 0
reg state s0 is 0
reg state s1 is 0
reg state a0 is 0
reg state a1 is 0
reg state a2 is 0
reg state a3 is 0
reg state a4 is 0
reg state a5 is 0
reg state a6 is 0
reg state a7 is 0
reg state s2 is 0
reg state s3 is 0
reg state s4 is 0
reg state s5 is 0
reg state s6 is 0
reg state s7 is 0
reg state s8 is 0
reg state s9 is 0
reg state s10 is 0
reg state s11 is 0
reg state t3 is 0
reg state t4 is 0
reg state t5 is 0
reg state t6 is 0
cmd_info received and successd(nemu) si 1
cmd_si received, the arg is 1
cmd_si received, the n is 1
0x0000000080000000: 97 02 00 00 auipc t0, 0
(nemu) x 2 80000000
cmd_info received, the arg is 2 80000000
cmd_info received, the num is 2
cmd_info received, the addr is 80000000
297
23000002
(nemu) si 1
cmd_si received, the arg is 1
cmd_si received, the n is 1
0x0000000080000004: 23 b8 02 00 sd zero, 16(t0)
cmd_si
(nemu) info r
cmd_info received, the arg is r
reg state $0 is 0
reg state ra is 0
reg state sp is 0
reg state gp is 0
reg state tp is 0
reg state t0 is 2147483648
reg state t1 is 0
reg state t2 is 0
reg state s0 is 0
reg state s1 is 0
reg state a0 is 0
reg state a1 is 0
reg state a2 is 0
reg state a3 is 0
reg state a4 is 0
reg state a5 is 0
reg state a6 is 0
reg state a7 is 0
reg state s2 is 0
reg state s3 is 0
reg state s4 is 0
reg state s5 is 0
reg state s6 is 0
reg state s7 is 0
reg state s8 is 0
reg state s9 is 0
reg state s10 is 0
reg state s11 is 0
reg state t3 is 0
reg state t4 is 0
reg state t5 is 0
reg state t6 is 0
cmd_info received and successd(nemu)