jupiter icon indicating copy to clipboard operation
jupiter copied to clipboard

Simulator assembly view - option to show Hex values?

Open dylanmc opened this issue 6 years ago • 2 comments

Jupiter is great - thanks!

I'm puzzled by the choice to show immediate values in the Asseembly view in the Simulator tab as decimal values.

For example, I'm loading a symbol into A1 in order to call print_string, and see the following:

  lui x11, 16
  addi x11, x11, 36

When I look at the simulator's register value for a1/x11, the value I see is 0x00010024, which is the important information I need in order to check the Memory tab. It seems that it would make more sense to at least have the option of seeing the two instructions disassembled like this:

  lui x11, 0x10
  addi x11, x11, 0x24

If nothing else, so that it makes more sense to students when they're seeing things going on.

dylanmc avatar Sep 11 '19 22:09 dylanmc

Hi !

Totally agree with this, I will add this feature soon. Something like the behavior found in registers/memory tables, that when you do a right click on it a context menu shows up and you can change the display option (hex, unsigned, etc) or if you have a better idea please let me know.

andrescv avatar Sep 27 '19 14:09 andrescv

That sounds great - consistency is good, and being flexible with output base would be helpful.

dylanmc avatar Sep 27 '19 14:09 dylanmc