mirror of https://github.com/bsnes-emu/bsnes.git
31 lines
866 B
C++
31 lines
866 B
C++
enum : uint {
|
|
OPTYPE_DP = 0, //dp
|
|
OPTYPE_DPX, //dp,x
|
|
OPTYPE_DPY, //dp,y
|
|
OPTYPE_IDP, //(dp)
|
|
OPTYPE_IDPX, //(dp,x)
|
|
OPTYPE_IDPY, //(dp),y
|
|
OPTYPE_ILDP, //[dp]
|
|
OPTYPE_ILDPY, //[dp],y
|
|
OPTYPE_ADDR, //addr
|
|
OPTYPE_ADDRX, //addr,x
|
|
OPTYPE_ADDRY, //addr,y
|
|
OPTYPE_IADDRX, //(addr,x)
|
|
OPTYPE_ILADDR, //[addr]
|
|
OPTYPE_LONG, //long
|
|
OPTYPE_LONGX, //long, x
|
|
OPTYPE_SR, //sr,s
|
|
OPTYPE_ISRY, //(sr,s),y
|
|
OPTYPE_ADDR_PC, //pbr:addr
|
|
OPTYPE_IADDR_PC, //pbr:(addr)
|
|
OPTYPE_RELB, //relb
|
|
OPTYPE_RELW, //relw
|
|
};
|
|
|
|
auto disassemble() -> string;
|
|
auto disassemble(uint24 addr, bool e, bool m, bool x) -> string;
|
|
auto dreadb(uint24 addr) -> uint8;
|
|
auto dreadw(uint24 addr) -> uint16;
|
|
auto dreadl(uint24 addr) -> uint24;
|
|
auto decode(uint8 mode, uint24 addr) -> uint24;
|