diff --git a/packages/bugc-react/src/components/BytecodeView.tsx b/packages/bugc-react/src/components/BytecodeView.tsx index cf6b42ca7..c900b700a 100644 --- a/packages/bugc-react/src/components/BytecodeView.tsx +++ b/packages/bugc-react/src/components/BytecodeView.tsx @@ -175,7 +175,9 @@ function InstructionsView({ ) : ( )} - {currentPc.toString().padStart(4, "0")} + + {`0x${currentPc.toString(16).padStart(4, "0")}`} + {instruction.mnemonic} {instruction.immediates && instruction.immediates.length > 0 && (