# Trying to get execution result in a separate log file with help of spike

**URL:** <https://forums.sifive.com/t/trying-to-get-execution-result-in-a-separate-log-file-with-help-of-spike/1452>\
**Category:** RISC-V\
**Created:** [July 27, 2018, 4:10am UTC](https://forums.sifive.com/t/trying-to-get-execution-result-in-a-separate-log-file-with-help-of-spike/1452 "2018-07-27T04:10:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayush\_12d](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Ayush\_12d](https://forums.sifive.com/u/Ayush_12d)\
**Post date:** [July 27, 2018, 4:10am UTC](https://forums.sifive.com/t/trying-to-get-execution-result-in-a-separate-log-file-with-help-of-spike/1452/1 "2018-07-27T04:10:14Z")

</div>

I have been using spike -d option to get into debug mode and then generating equivalent RISC-V instructions for a particular C program, but i want that in a separate log file with result of each and every destination register. Can anyone help me out in this?
