cache: add stack and lvt string/int counts to rs2asm
This commit is contained in:
@@ -50,7 +50,7 @@ public class AssemblerTest
|
||||
{
|
||||
return new String[]
|
||||
{
|
||||
"395.rs2asm", "91.rs2asm"
|
||||
"91.rs2asm"
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -1,99 +0,0 @@
|
||||
033
|
||||
get_boostedskilllevels
|
||||
int_to_string
|
||||
1112
|
||||
033
|
||||
get_realskilllevels
|
||||
034 3
|
||||
033 3
|
||||
int_to_string
|
||||
1112 1
|
||||
033
|
||||
get_skillexperiences
|
||||
034 4
|
||||
load_string ","
|
||||
036 1
|
||||
035
|
||||
load_string " XP:"
|
||||
037 2
|
||||
036 2
|
||||
033 4
|
||||
035 1
|
||||
040 46
|
||||
036 3
|
||||
load_int 0
|
||||
034 5
|
||||
025 4181
|
||||
load_int 0
|
||||
if_icmpeq LABEL29
|
||||
jump LABEL60
|
||||
LABEL29:
|
||||
033 3
|
||||
load_int 99
|
||||
if_icmplt LABEL33
|
||||
jump LABEL59
|
||||
LABEL33:
|
||||
load_int 105
|
||||
load_int 105
|
||||
load_int 256
|
||||
033 3
|
||||
load_int 1
|
||||
iadd
|
||||
3408
|
||||
034 5
|
||||
035 2
|
||||
load_string "|Next level at:|Remaining XP:"
|
||||
concat_string
|
||||
036 2
|
||||
035 3
|
||||
load_string "|"
|
||||
033 5
|
||||
035 1
|
||||
040 46
|
||||
load_string "|"
|
||||
033 5
|
||||
033 4
|
||||
isub
|
||||
035 1
|
||||
040 46
|
||||
037 4
|
||||
concat_string
|
||||
036 3
|
||||
LABEL59:
|
||||
jump LABEL78
|
||||
LABEL60:
|
||||
035 2
|
||||
load_string "|Next level at:"
|
||||
concat_string
|
||||
036 2
|
||||
035 3
|
||||
load_string "|"
|
||||
load_int 105
|
||||
load_int 105
|
||||
load_int 256
|
||||
033 3
|
||||
load_int 1
|
||||
iadd
|
||||
3408
|
||||
035 1
|
||||
040 46
|
||||
037 2
|
||||
concat_string
|
||||
036 3
|
||||
LABEL78:
|
||||
load_int 992
|
||||
load_int -2147483645
|
||||
load_int -1
|
||||
033 2
|
||||
035 2
|
||||
035 3
|
||||
load_int 495
|
||||
load_int 25
|
||||
load_int 5
|
||||
idiv
|
||||
load_string "IiIssfi"
|
||||
033 1
|
||||
2412
|
||||
load_int 0
|
||||
043 2
|
||||
return
|
||||
@@ -1,4 +1,8 @@
|
||||
033
|
||||
.int_stack_count 2
|
||||
.string_stack_count 1
|
||||
.int_var_count 2
|
||||
.string_var_count 1
|
||||
iload 0
|
||||
switch
|
||||
3: LABEL20
|
||||
5: LABEL54
|
||||
@@ -6,7 +10,7 @@
|
||||
7: LABEL3
|
||||
jump LABEL84
|
||||
LABEL3:
|
||||
033 1
|
||||
iload 1
|
||||
042 175
|
||||
if_icmplt LABEL7
|
||||
jump LABEL9
|
||||
@@ -14,7 +18,7 @@ LABEL7:
|
||||
load_int 0
|
||||
return
|
||||
LABEL9:
|
||||
035
|
||||
sload
|
||||
string_remove_html
|
||||
3623
|
||||
load_int 1
|
||||
@@ -28,7 +32,7 @@ LABEL17:
|
||||
return
|
||||
jump LABEL84
|
||||
LABEL20:
|
||||
033 1
|
||||
iload 1
|
||||
042 175
|
||||
if_icmplt LABEL24
|
||||
jump LABEL26
|
||||
@@ -36,7 +40,7 @@ LABEL24:
|
||||
load_int 0
|
||||
return
|
||||
LABEL26:
|
||||
035
|
||||
sload
|
||||
string_remove_html
|
||||
3623
|
||||
load_int 1
|
||||
@@ -59,7 +63,7 @@ LABEL40:
|
||||
if_icmpeq LABEL44
|
||||
jump LABEL51
|
||||
LABEL44:
|
||||
035
|
||||
sload
|
||||
3609
|
||||
load_int 1
|
||||
if_icmpeq LABEL49
|
||||
@@ -72,7 +76,7 @@ LABEL51:
|
||||
return
|
||||
jump LABEL84
|
||||
LABEL54:
|
||||
033 1
|
||||
iload 1
|
||||
042 175
|
||||
if_icmplt LABEL58
|
||||
jump LABEL60
|
||||
@@ -80,7 +84,7 @@ LABEL58:
|
||||
load_int 0
|
||||
return
|
||||
LABEL60:
|
||||
033
|
||||
iload 0
|
||||
load_int 5
|
||||
if_icmpeq LABEL64
|
||||
jump LABEL76
|
||||
@@ -91,7 +95,7 @@ LABEL64:
|
||||
jump LABEL76
|
||||
LABEL68:
|
||||
get_gamecycle
|
||||
033 1
|
||||
iload 1
|
||||
isub
|
||||
load_int 500
|
||||
if_icmpge LABEL74
|
||||
|
||||
Reference in New Issue
Block a user