cpu/{arm|thumb}(chore): change how branch disassembly happens
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -26,7 +26,7 @@ struct BranchAndExchange {
|
||||
|
||||
struct Branch {
|
||||
bool link;
|
||||
uint32_t offset;
|
||||
int32_t offset;
|
||||
};
|
||||
|
||||
struct Multiply {
|
||||
|
@@ -282,7 +282,7 @@ struct Instruction {
|
||||
void exec(Cpu& cpu);
|
||||
|
||||
#ifdef DISASSEMBLER
|
||||
std::string disassemble(uint32_t pc = 0);
|
||||
std::string disassemble();
|
||||
#endif
|
||||
|
||||
InstructionData data;
|
||||
|
Reference in New Issue
Block a user