achan1989 / ghidra-65816

WDC 65816 processor module for Ghidra
MIT License
22 stars 3 forks source link

Issue with LDA #2

Closed s5bug closed 5 years ago

s5bug commented 5 years ago

Manually disassembling A9 80 8D 00 21 gives

A9 80       LDA #$0x80
8D 00 21    STA $0x2100

but with this module it gives

A9 80 8D    LDA #$0x8d80
00 21       BRK $offset VEC_BRK_NATIVE

(I don't know what $offset VEC_BRK_NATIVE is)

s5bug commented 5 years ago

I had register settings out of order. Whoops!