DSM-ECU
  • Welcome
  • Resources
  • Disassembly from scratch
    • Things you need
    • Starting disassembly of a new binary
    • Mapping code vs. data areas
    • Assembly
    • Registers
    • Routine labels - easy mode
    • RAM/Variables
    • The "fun" part
  • Disassembly with Ghidra
    • Add TMP76C75T to Ghidra
    • Easy mode
    • SLEIGH Hints
  • Chips
    • IC MH6111 (TMP76C75T)
    • TMP76C75T Engineering Sample
    • IC MH6311F (TMP76C55T)
    • IC E303 (M60011)
    • IC E310 (M59107)
    • IC E315 (M65013L)
    • IC E320 (M65025)
    • 27C256
  • Hybrid boards
    • E528A
    • E518A
    • E527/E538
    • MA7815(B)
    • M67805 (Knock)
  • MC6801 vs. TMP76C75T
    • xDIV
  • Jellybean
    • Resistors
    • Driver Transistors
    • Power Transistors
  • MH6211 Differences
    • Vector Tables
Powered by GitBook
On this page

Was this helpful?

  1. Disassembly with Ghidra

SLEIGH Hints

Things that help with learning SLEIGH

PreviousEasy modeNextIC MH6111 (TMP76C75T)

Last updated 1 year ago

Was this helpful?

  1. Turn on p-code in Ghidra UI

    1. Click Edit the listing fields button in the upper right of the Listings window.

      • (it looks like a stack of misaligned stacked white boxes with a single yellow box in the center and an arrow pointing up under the stack. Or fifth from the right starting from the listings window's 'X'[close window])

    2. Right Click on p-code field

    3. Click Enable Field

    4. Now you can see the p-code for each operation!

  2. Bind the ReloadSleighLangauge.java script to a key to reload .slaspec changes

    1. Window -> Script Manager

    2. Filter on "ReloadSleighLangauge"

    3. Right Click and then Click Assign Key Binding

    4. Enter a key combination that you get to make up!

    5. Click Ok

  3. Use the ImportSymbolsScript.py

    • Format: <label> 0x<addr> l | f

    • eg.

      • egVal 0x0125 l

      • codeStart 0xCEFF f

    • l is normal label

    • f is function