Commits

Liam Devine committed 8c862d9

hmm is this an old copy? Wrong register for test

  • Participants
  • Parent commits 74e560f

Comments (0)

Files changed (1)

File luadump52.lua

 	,[25] = {name = 'OP_LT'			,regs = {'A','B','C'} ,desc = 'if ((RK(B) <  RK(C)) ~= A) then pc++'}
 	,[26] = {name = 'OP_LE'			,regs = {'A','B','C'} ,desc = 'if ((RK(B) <= RK(C)) ~= A) then pc++'}
 	
-	,[27] = {name = 'OP_TEST'		,regs = {'A','B'	}, desc = 'if not (R(A) <=> C) then pc++'}
+	,[27] = {name = 'OP_TEST'		,regs = {'A','C'	}, desc = 'if not (R(A) <=> C) then pc++'}
 	,[28] = {name = 'OP_TESTSET'	,regs = {'A','B','C'} ,desc = 'if (R(B) <=> C) then R(A) := R(B) else pc++'}
 	
 	,[29] = {name = 'OP_CALL'		,regs = {'A','B','C'}, desc = 'R(A), ... ,R(A+C-2) := R(A)(R(A+1), ... ,R(A+B-1)'}