dolphin-emulator/Source/Core/Common/Assembler
Nitch2024 bcefc8ba70 [Debugger]
- Assemble dialog box instruction automatically filed with the right disassembly instead of .li and the hex since the hex edition is available in "replace instruction"
- Assemble dialog can now deal with absolute addresses computing automatically the offset. For example assembling b ->0x80359370 at the address 0x8035936c will result in the right relative jump. Add -> before any address you want to use as absolute to respect the disassembly syntax

[Disassembler]
- Adjusted disassembly decorations when using assemble dialog.
      - Right clicking and assembling "rlwinm r0, r0, 2, 0, 29 (3fffffff)" gets "rlwinm r0, r0, 2, 0, 29" in the dialog box.
      - Right clicking and assembling "ps_add p6, p2+p4" gets "ps_add p6, p2, p4" in the dialog box.
- Fixed wrong disassembly of twi / trapi (was missing i before)
- Fixed ps_sel display and variables ordering
- Improved disassembly of ps_ function to support . variants
- Fixed beq+ / beq- disassembly to only support y bit as hint of branch prediction regardless of displacement sign. beq+ -0xC and beq- -0xC are both possible

[Assembler]
1. Added support for pair single p1,...,p31 register for assembly of all ps instructions. "ps_add p6, p2, p4" works instead of "ps_add f6, f2, f4" required before
2. Added support for assembly of Graphics Quantization Registers for assembly. "psq_l p2, 0(r3), 0, qr0" can now be assembled for example

[CICD]
- Added Unit Test for roundtrip between Assembler -> Disassembler -> Assembler
2025-04-07 15:01:34 -07:00
..
AssemblerShared.cpp
AssemblerShared.h
AssemblerTables.cpp Change OperandDesc variables to not be underscore-prefixed in order to comply with https://eel.is/c++draft/lex.name#3.1 (fixes compilation under newlib; e.g. devkitPro) 2024-07-21 18:35:38 +02:00
AssemblerTables.h
CaseInsensitiveDict.h Simplify std::fill with std::array::fill 2024-10-09 17:26:10 -07:00
GekkoAssembler.cpp
GekkoAssembler.h
GekkoIRGen.cpp [Debugger] 2025-04-07 15:01:34 -07:00
GekkoIRGen.h
GekkoLexer.cpp [Debugger] 2025-04-07 15:01:34 -07:00
GekkoLexer.h [Debugger] 2025-04-07 15:01:34 -07:00
GekkoParser.cpp [Debugger] 2025-04-07 15:01:34 -07:00
GekkoParser.h [Debugger] 2025-04-07 15:01:34 -07:00