diff options
author | Mike Pall <mike> | 2012-01-31 16:11:04 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2012-01-31 16:11:04 +0100 |
commit | d0b1646c808a7994b6a035e7b02ab9f41febc1c3 (patch) | |
tree | a870c89f8c5bc8713c3563a7a4dd6201802c2459 /lib/dis_mipsel.lua | |
parent | 10ef109eefdf5c1742ea4c0a62e7a127bf1bb43b (diff) | |
download | luajit-d0b1646c808a7994b6a035e7b02ab9f41febc1c3.tar.gz luajit-d0b1646c808a7994b6a035e7b02ab9f41febc1c3.tar.bz2 luajit-d0b1646c808a7994b6a035e7b02ab9f41febc1c3.zip |
MIPS: Add MIPS disassembler.
Diffstat (limited to '')
-rw-r--r-- | lib/dis_mipsel.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/dis_mipsel.lua b/lib/dis_mipsel.lua new file mode 100644 index 00000000..4c5a6515 --- /dev/null +++ b/lib/dis_mipsel.lua | |||
@@ -0,0 +1,20 @@ | |||
1 | ---------------------------------------------------------------------------- | ||
2 | -- LuaJIT MIPSEL disassembler wrapper module. | ||
3 | -- | ||
4 | -- Copyright (C) 2005-2011 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 require = require | ||
12 | |||
13 | module(...) | ||
14 | |||
15 | local dis_mips = require(_PACKAGE.."dis_mips") | ||
16 | |||
17 | create = dis_mips.create_el | ||
18 | disass = dis_mips.disass_el | ||
19 | regname = dis_mips.regname | ||
20 | |||