From 4ed61feeeb87dc307c5a26759ea7f7775458d03e Mon Sep 17 00:00:00 2001 From: Steve Hoover Date: Fri, 26 Feb 2021 20:17:40 -0500 Subject: [PATCH] Made values hexadecimal in VIZ for full test program. --- lib/risc-v_shell_lib.tlv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/risc-v_shell_lib.tlv b/lib/risc-v_shell_lib.tlv index 65d6f19..9319088 100644 --- a/lib/risc-v_shell_lib.tlv +++ b/lib/risc-v_shell_lib.tlv @@ -99,6 +99,8 @@ m4+definitions([' m4_asm(ADDI, x30, x0, 1) m4_asm(JAL, x0, 0) // Done. Jump to itself (infinite loop). (Up to 20-bit signed immediate plus implicit 0 bit (unlike JALR) provides byte address; last immediate bit should also be 0) + m4_define(['M4_VIZ_BASE'], 16) // (Note that immediate values are shown in disassembled instructions in binary and signed decimal in decoder regardless of this setting.) + m4_define(['M4_MAX_CYC'], 70) '])m4_ifelse(['$1'], [''], ['m4_asm_end()'], ['m4_asm_end_tlv()'])'])