LuaJIT/src/jit/dis_mipsel.lua

18 lines
715 B
Lua
Raw Normal View History

2012-01-31 23:11:04 +08:00
----------------------------------------------------------------------------
-- LuaJIT MIPSEL disassembler wrapper module.
--
2025-01-13 22:59:10 +08:00
-- Copyright (C) 2005-2025 Mike Pall. All rights reserved.
2012-01-31 23:11:04 +08:00
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-- This module just exports the little-endian functions from the
-- MIPS disassembler module. All the interesting stuff is there.
------------------------------------------------------------------------------
local dis_mips = require((string.match(..., ".*%.") or "").."dis_mips")
return {
create = dis_mips.create_el,
disass = dis_mips.disass_el,
regname = dis_mips.regname
}
2012-01-31 23:11:04 +08:00