Package ghidra.program.model.lang

# Class RegisterTranslator

java.lang.Object
ghidra.program.model.lang.RegisterTranslator

public class RegisterTranslator extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RegisterTranslator(Language oldLang, Language newLang)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Register`
  `getNewRegister(int offset, int size)`
  `Register`
  `getNewRegister(Register oldReg)`
  `List<Register>`
  `getNewRegisters()`
  `Register`
  `getOldRegister(int offset, int size)`
  `Register`
  `getOldRegister(Register newReg)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RegisterTranslator

    public RegisterTranslator(Language oldLang, Language newLang)

- ## Method Details

  - ### getOldRegister

    public Register getOldRegister(int offset, int size)

  - ### getNewRegister

    public Register getNewRegister(int offset, int size)

  - ### getNewRegister

    public Register getNewRegister(Register oldReg)

  - ### getOldRegister

    public Register getOldRegister(Register newReg)

  - ### getNewRegisters

    public List<Register> getNewRegisters()