$ ./riscv -d ./code/input/R/R.input
> ./code/out/UJ/UJ.solution
$ diff ./code/out/R/R.solution ./code/ref/UJ/UJ.solution
It seems that it exits before implementing the other instruction of ujtype particularly jal.
I have double checked "get_jump_offset" but still the error exists.
Please consider the screenshot attached.