[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a way to check values of registers before and after running
From: |
Deepak Gupta |
Subject: |
Re: Is there a way to check values of registers before and after running a program on qemu-system-risc64v? |
Date: |
Tue, 18 Jun 2024 09:55:00 -0700 |
On Tue, Jun 18, 2024 at 9:50 AM Shobhit <shobhit32t@gmail.com> wrote:
>
> I am trying to run a very basic RISC V assembly program on
> qemu-system-riscv64, is there a way to check/monitor the value of some
> particular registers before and after loading the program? I have tried
> passing -monitor stdio flag to qemu-system-risc64v, but it doesn't give me
> the values of registers.
Try `-d cpu` option
-Deepak