ljx

FORK: LuaJIT with native 5.2 and 5.3 support
git clone https://git.neptards.moe/neptards/ljx.git
Log | Files | Refs | README

dis_mipsel.lua (715B)


      1 ----------------------------------------------------------------------------
      2 -- LuaJIT MIPSEL disassembler wrapper module.
      3 --
      4 -- Copyright (C) 2005-2016 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 
     11 local dis_mips = require((string.match(..., ".*%.") or "").."dis_mips")
     12 return {
     13   create = dis_mips.create_el,
     14   disass = dis_mips.disass_el,
     15   regname = dis_mips.regname
     16 }
     17