Files
Ps2-Classics-emulators-for-Ps4/ps2emuKOF98/lua_include/ee-gpr-alias.lua
T
2020-02-10 21:57:44 +01:00

48 lines
798 B
Lua

-- Recommended method to import this module:
-- local gpr = require("ee-gpr-alias")
--
-- Using the global 'lang' variable is depreciated. This will change to a local-scope variable after
-- the depreciation period has expired in April 2016.
gpr = {}
gpr.zero = 0
gpr.at = 1
gpr.v0 = 2
gpr.v1 = 3
gpr.a0 = 4
gpr.a1 = 5
gpr.a2 = 6
gpr.a3 = 7
gpr.t0 = 8
gpr.t1 = 9
gpr.t2 = 10
gpr.t3 = 11
gpr.t4 = 12
gpr.t5 = 13
gpr.t6 = 14
gpr.t7 = 15
gpr.s0 = 16
gpr.s1 = 17
gpr.s2 = 18
gpr.s3 = 19
gpr.s4 = 20
gpr.s5 = 21
gpr.s6 = 22
gpr.s7 = 23
gpr.t8 = 24
gpr.t9 = 25
gpr.k0 = 26
gpr.k1 = 27
gpr.gp = 28
gpr.sp = 29
gpr.fp = 30
gpr.ra = 31
gpr.lo = 32
gpr.hi = 33
gpr.sa = 34
return gpr