src/jit/dis_mipsel.lua - luajit-2.0-src

  1. ----------------------------------------------------------------------------
  2. -- LuaJIT MIPSEL disassembler wrapper module.
  3. --
  4. -- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
  5. -- Released under the MIT license. See Copyright Notice in luajit.h
  6. ----------------------------------------------------------------------------
  7. -- This module just exports the little-endian functions from the
  8. -- MIPS disassembler module. All the interesting stuff is there.
  9. ------------------------------------------------------------------------------

  10. local dis_mips = require((string.match(..., ".*%.") or "").."dis_mips")
  11. return {
  12.   create = dis_mips.create_el,
  13.   disass = dis_mips.disass_el,
  14.   regname = dis_mips.regname
  15. }