pmdsky-debug-py 9.0.3__py3-none-any.whl → 9.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pmdsky_debug_py/_release.py +1 -1
- pmdsky_debug_py/eu.py +302 -58
- pmdsky_debug_py/eu_itcm.py +302 -58
- pmdsky_debug_py/jp.py +302 -58
- pmdsky_debug_py/jp_itcm.py +302 -58
- pmdsky_debug_py/na.py +302 -58
- pmdsky_debug_py/na_itcm.py +302 -58
- pmdsky_debug_py/protocol.py +134 -19
- {pmdsky_debug_py-9.0.3.dist-info → pmdsky_debug_py-9.0.5.dist-info}/METADATA +1 -1
- pmdsky_debug_py-9.0.5.dist-info/RECORD +14 -0
- pmdsky_debug_py-9.0.3.dist-info/RECORD +0 -14
- {pmdsky_debug_py-9.0.3.dist-info → pmdsky_debug_py-9.0.5.dist-info}/WHEEL +0 -0
- {pmdsky_debug_py-9.0.3.dist-info → pmdsky_debug_py-9.0.5.dist-info}/top_level.txt +0 -0
pmdsky_debug_py/jp_itcm.py
CHANGED
|
@@ -140,7 +140,7 @@ class JpItcmArm7Functions:
|
|
|
140
140
|
" & 0x1f (the cpsr mode bits M4-M0)",
|
|
141
141
|
)
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
_s32_div_f = Symbol(
|
|
144
144
|
None,
|
|
145
145
|
None,
|
|
146
146
|
None,
|
|
@@ -148,7 +148,7 @@ class JpItcmArm7Functions:
|
|
|
148
148
|
" dividend\nr1: divisor\nreturn: (quotient) | (remainder << 32)",
|
|
149
149
|
)
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
_u32_div_f = Symbol(
|
|
152
152
|
None,
|
|
153
153
|
None,
|
|
154
154
|
None,
|
|
@@ -156,7 +156,7 @@ class JpItcmArm7Functions:
|
|
|
156
156
|
" dividend\nr1: divisor\nreturn: (quotient) | (remainder << 32)",
|
|
157
157
|
)
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
_u32_div_not_0_f = Symbol(
|
|
160
160
|
None,
|
|
161
161
|
None,
|
|
162
162
|
None,
|
|
@@ -195,11 +195,11 @@ class JpItcmArm7Section:
|
|
|
195
195
|
|
|
196
196
|
class JpItcmArm9Functions:
|
|
197
197
|
|
|
198
|
-
|
|
198
|
+
Svc_SoftReset = Symbol(None, None, None, "Software interrupt.")
|
|
199
199
|
|
|
200
|
-
|
|
200
|
+
Svc_WaitByLoop = Symbol(None, None, None, "Software interrupt.")
|
|
201
201
|
|
|
202
|
-
|
|
202
|
+
Svc_CpuSet = Symbol(None, None, None, "Software interrupt.")
|
|
203
203
|
|
|
204
204
|
_start = Symbol(
|
|
205
205
|
None,
|
|
@@ -211,7 +211,7 @@ class JpItcmArm9Functions:
|
|
|
211
211
|
" will jump to NitroMain.\n\nNo params.",
|
|
212
212
|
)
|
|
213
213
|
|
|
214
|
-
|
|
214
|
+
MIi_UncompressBackward = Symbol(
|
|
215
215
|
None,
|
|
216
216
|
None,
|
|
217
217
|
None,
|
|
@@ -232,7 +232,7 @@ class JpItcmArm9Functions:
|
|
|
232
232
|
"Startup routine in the program's crt0 (https://en.wikipedia.org/wiki/Crt0).",
|
|
233
233
|
)
|
|
234
234
|
|
|
235
|
-
|
|
235
|
+
OSi_ReferSymbol = Symbol(
|
|
236
236
|
None,
|
|
237
237
|
None,
|
|
238
238
|
None,
|
|
@@ -4019,6 +4019,16 @@ class JpItcmArm9Functions:
|
|
|
4019
4019
|
" index",
|
|
4020
4020
|
)
|
|
4021
4021
|
|
|
4022
|
+
UpdateWindow = Symbol(
|
|
4023
|
+
None,
|
|
4024
|
+
None,
|
|
4025
|
+
None,
|
|
4026
|
+
"Seems to cause updated window contents to be displayed.\n \nGets called for"
|
|
4027
|
+
" example at the end of a text box window update and seems to 'commit' the"
|
|
4028
|
+
" update, but in general also gets called with all kinds of window updates."
|
|
4029
|
+
" \n\nr0: window_id",
|
|
4030
|
+
)
|
|
4031
|
+
|
|
4022
4032
|
ClearWindow = Symbol(
|
|
4023
4033
|
None,
|
|
4024
4034
|
None,
|
|
@@ -8734,119 +8744,320 @@ class JpItcmArm9Functions:
|
|
|
8734
8744
|
"The wcslen(3) C library function.\n\nr0: ws\nreturn: length of ws",
|
|
8735
8745
|
)
|
|
8736
8746
|
|
|
8737
|
-
|
|
8747
|
+
_dadd = Symbol(
|
|
8748
|
+
None,
|
|
8749
|
+
None,
|
|
8750
|
+
None,
|
|
8751
|
+
"Implements the addition operator for IEEE 754 double-precision floating-point"
|
|
8752
|
+
" numbers.\n\nThe result is returned in r0 and r1, in accordance with the"
|
|
8753
|
+
" Procedure Call Standard for the Arm Architecture (see"
|
|
8754
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8755
|
+
" a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b (high bits)\nreturn:"
|
|
8756
|
+
" a + b",
|
|
8757
|
+
)
|
|
8758
|
+
|
|
8759
|
+
_d2f = Symbol(
|
|
8760
|
+
None,
|
|
8761
|
+
None,
|
|
8762
|
+
None,
|
|
8763
|
+
"Implements the double to float cast operator for IEEE 754 floating-point"
|
|
8764
|
+
" numbers.\n\nr0: double (low bits)\nr1: double (high bits)\nreturn:"
|
|
8765
|
+
" (float)double",
|
|
8766
|
+
)
|
|
8767
|
+
|
|
8768
|
+
_ll_ufrom_d = Symbol(
|
|
8769
|
+
None,
|
|
8770
|
+
None,
|
|
8771
|
+
None,
|
|
8772
|
+
"Implements the double to unsigned long long cast operation for IEEE 754"
|
|
8773
|
+
" floating-point numbers.\n\nThe result is returned in r0 and r1, in accordance"
|
|
8774
|
+
" with the Procedure Call Standard for the Arm Architecture (see"
|
|
8775
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8776
|
+
" double (low bits)\nr1: double (high bits)\nreturn: (unsigned long"
|
|
8777
|
+
" long)double",
|
|
8778
|
+
)
|
|
8779
|
+
|
|
8780
|
+
_dflt = Symbol(
|
|
8781
|
+
None,
|
|
8782
|
+
None,
|
|
8783
|
+
None,
|
|
8784
|
+
"Implements the int to double cast operation for IEEE 754 floating-point"
|
|
8785
|
+
" numbers.\n\nThe result is returned in r0 and r1, in accordance with the"
|
|
8786
|
+
" Procedure Call Standard for the Arm Architecture (see"
|
|
8787
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8788
|
+
" int\nreturn: (double)int",
|
|
8789
|
+
)
|
|
8790
|
+
|
|
8791
|
+
_dfltu = Symbol(
|
|
8792
|
+
None,
|
|
8793
|
+
None,
|
|
8794
|
+
None,
|
|
8795
|
+
"Implements the unsigned int to double cast operation for IEEE 754"
|
|
8796
|
+
" floating-point numbers.\n\nThe result is returned in r0 and r1, in accordance"
|
|
8797
|
+
" with the Procedure Call Standard for the Arm Architecture (see"
|
|
8798
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8799
|
+
" uint\nreturn: (double)uint",
|
|
8800
|
+
)
|
|
8801
|
+
|
|
8802
|
+
_dmul = Symbol(
|
|
8803
|
+
None,
|
|
8804
|
+
None,
|
|
8805
|
+
None,
|
|
8806
|
+
"Implements the multiplication operator for IEEE 754 double-precision"
|
|
8807
|
+
" floating-point numbers.\n\nThe result is returned in r0 and r1, in accordance"
|
|
8808
|
+
" with the Procedure Call Standard for the Arm Architecture (see"
|
|
8809
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8810
|
+
" a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b (high bits)\nreturn:"
|
|
8811
|
+
" a * b",
|
|
8812
|
+
)
|
|
8813
|
+
|
|
8814
|
+
_dsqrt = Symbol(
|
|
8815
|
+
None,
|
|
8816
|
+
None,
|
|
8817
|
+
None,
|
|
8818
|
+
"Analogous to the sqrt(3) C library function.\n\nThe result is returned in r0"
|
|
8819
|
+
" and r1, in accordance with the Procedure Call Standard for the Arm"
|
|
8820
|
+
" Architecture (see"
|
|
8821
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8822
|
+
" x (low bits)\nr1: x (high bits)\nreturn: sqrt(x)",
|
|
8823
|
+
)
|
|
8824
|
+
|
|
8825
|
+
_dsub = Symbol(
|
|
8826
|
+
None,
|
|
8827
|
+
None,
|
|
8828
|
+
None,
|
|
8829
|
+
"Implements the subtraction operator for IEEE 754 double-precision"
|
|
8830
|
+
" floating-point numbers.\n\nThe result is returned in r0 and r1, in accordance"
|
|
8831
|
+
" with the Procedure Call Standard for the Arm Architecture (see"
|
|
8832
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8833
|
+
" a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b (high bits)\nreturn:"
|
|
8834
|
+
" a - b",
|
|
8835
|
+
)
|
|
8836
|
+
|
|
8837
|
+
_fadd = Symbol(
|
|
8838
|
+
None,
|
|
8839
|
+
None,
|
|
8840
|
+
None,
|
|
8841
|
+
"Implements the addition operator for IEEE 754 floating-point"
|
|
8842
|
+
" numbers.\n\nAnalogous to __addsf3 in libgcc.\n\nr0: a\nr1: b\nreturn: a + b",
|
|
8843
|
+
)
|
|
8844
|
+
|
|
8845
|
+
_dgeq = Symbol(
|
|
8846
|
+
None,
|
|
8847
|
+
None,
|
|
8848
|
+
None,
|
|
8849
|
+
"Implements the >= operator for IEEE 754 double-precision floating-point"
|
|
8850
|
+
" numbers.\n\nr0: a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b"
|
|
8851
|
+
" (high bits)\nreturn: a >= b",
|
|
8852
|
+
)
|
|
8853
|
+
|
|
8854
|
+
_dleq = Symbol(
|
|
8855
|
+
None,
|
|
8856
|
+
None,
|
|
8857
|
+
None,
|
|
8858
|
+
"Implements the <= operator for IEEE 754 double-precision floating-point"
|
|
8859
|
+
" numbers.\n\nr0: a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b"
|
|
8860
|
+
" (high bits)\nreturn: a <= b",
|
|
8861
|
+
)
|
|
8862
|
+
|
|
8863
|
+
_dls = Symbol(
|
|
8864
|
+
None,
|
|
8865
|
+
None,
|
|
8866
|
+
None,
|
|
8867
|
+
"Implements the < operator for IEEE 754 double-precision floating-point"
|
|
8868
|
+
" numbers.\n\nr0: a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b"
|
|
8869
|
+
" (high bits)\nreturn: a < b",
|
|
8870
|
+
)
|
|
8871
|
+
|
|
8872
|
+
_deq = Symbol(
|
|
8873
|
+
None,
|
|
8874
|
+
None,
|
|
8875
|
+
None,
|
|
8876
|
+
"Implements the == operator for IEEE 754 double-precision floating-point"
|
|
8877
|
+
" numbers.\n\nr0: a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b"
|
|
8878
|
+
" (high bits)\nreturn: a == b",
|
|
8879
|
+
)
|
|
8880
|
+
|
|
8881
|
+
_dneq = Symbol(
|
|
8882
|
+
None,
|
|
8883
|
+
None,
|
|
8884
|
+
None,
|
|
8885
|
+
"Implements the != operator for IEEE 754 double-precision floating-point"
|
|
8886
|
+
" numbers.\n\nr0: a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b"
|
|
8887
|
+
" (high bits)\nreturn: a != b",
|
|
8888
|
+
)
|
|
8889
|
+
|
|
8890
|
+
_fls = Symbol(
|
|
8738
8891
|
None,
|
|
8739
8892
|
None,
|
|
8740
8893
|
None,
|
|
8741
|
-
"
|
|
8742
|
-
"
|
|
8743
|
-
" numbers.\n\nr0: a\nr1: b\nreturn: a + b",
|
|
8894
|
+
"Implements the < operator for IEEE 754 floating-point numbers.\n\nr0: a\nr1:"
|
|
8895
|
+
" b\nreturn: a < b",
|
|
8744
8896
|
)
|
|
8745
8897
|
|
|
8746
|
-
|
|
8898
|
+
_fdiv = Symbol(
|
|
8747
8899
|
None,
|
|
8748
8900
|
None,
|
|
8749
8901
|
None,
|
|
8750
|
-
"
|
|
8751
|
-
"
|
|
8752
|
-
"
|
|
8902
|
+
"Implements the division operator for IEEE 754 floating-point"
|
|
8903
|
+
" numbers.\n\nAnalogous to __divsf3 in libgcc.\n\nr0: dividend\nr1:"
|
|
8904
|
+
" divisor\nreturn: dividend / divisor",
|
|
8753
8905
|
)
|
|
8754
8906
|
|
|
8755
|
-
|
|
8907
|
+
_f2d = Symbol(
|
|
8756
8908
|
None,
|
|
8757
8909
|
None,
|
|
8758
8910
|
None,
|
|
8759
|
-
"
|
|
8760
|
-
"
|
|
8761
|
-
"
|
|
8911
|
+
"Implements the float to double cast operation for IEEE 754 floating-point"
|
|
8912
|
+
" numbers.\n\nAnalogous to __extendsfdf2 in libgcc.\n\nThe result is returned"
|
|
8913
|
+
" in r0 and r1, in accordance with the Procedure Call Standard for the Arm"
|
|
8914
|
+
" Architecture (see"
|
|
8915
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8916
|
+
" float\nreturn: (double)float",
|
|
8762
8917
|
)
|
|
8763
8918
|
|
|
8764
|
-
|
|
8919
|
+
_ffix = Symbol(
|
|
8765
8920
|
None,
|
|
8766
8921
|
None,
|
|
8767
8922
|
None,
|
|
8768
|
-
"
|
|
8769
|
-
"
|
|
8770
|
-
"
|
|
8771
|
-
"
|
|
8923
|
+
"Implements the float to int cast operation for IEEE 754 floating-point"
|
|
8924
|
+
" numbers. The output saturates if the input is out of the representable range"
|
|
8925
|
+
" for the int type.\n\nAnalogous to __fixsfsi in libgcc.\n\nr0: float\nreturn:"
|
|
8926
|
+
" (int)float",
|
|
8772
8927
|
)
|
|
8773
8928
|
|
|
8774
|
-
|
|
8929
|
+
_fflt = Symbol(
|
|
8775
8930
|
None,
|
|
8776
8931
|
None,
|
|
8777
8932
|
None,
|
|
8778
|
-
"
|
|
8779
|
-
"
|
|
8780
|
-
"
|
|
8933
|
+
"Implements the int to float cast operation for IEEE 754 floating-point"
|
|
8934
|
+
" numbers.\n\nAnalogous to __floatsisf in libgcc.\n\nr0: int\nreturn:"
|
|
8935
|
+
" (float)int",
|
|
8781
8936
|
)
|
|
8782
8937
|
|
|
8783
|
-
|
|
8938
|
+
_ffltu = Symbol(
|
|
8784
8939
|
None,
|
|
8785
8940
|
None,
|
|
8786
8941
|
None,
|
|
8787
|
-
"
|
|
8788
|
-
"
|
|
8789
|
-
"
|
|
8942
|
+
"Implements the unsigned int to float cast operation for IEEE 754"
|
|
8943
|
+
" floating-point numbers.\n\nAnalogous to __floatunsisf in libgcc.\n\nr0:"
|
|
8944
|
+
" uint\nreturn: (float)uint",
|
|
8790
8945
|
)
|
|
8791
8946
|
|
|
8792
|
-
|
|
8947
|
+
_fmul = Symbol(
|
|
8793
8948
|
None,
|
|
8794
8949
|
None,
|
|
8795
8950
|
None,
|
|
8796
|
-
"
|
|
8797
|
-
"
|
|
8798
|
-
" floating-point numbers.",
|
|
8951
|
+
"Implements the multiplication operator for IEEE 754 floating-point"
|
|
8952
|
+
" numbers.\n\nAnalogous to __mulsf3 in libgcc.\n\nr0: a\nr1: b\nreturn: a * b",
|
|
8799
8953
|
)
|
|
8800
8954
|
|
|
8801
8955
|
sqrtf = Symbol(
|
|
8802
8956
|
None, None, None, "The sqrtf(3) C library function.\n\nr0: x\nreturn: sqrt(x)"
|
|
8803
8957
|
)
|
|
8804
8958
|
|
|
8805
|
-
|
|
8959
|
+
_fsub = Symbol(
|
|
8960
|
+
None,
|
|
8961
|
+
None,
|
|
8962
|
+
None,
|
|
8963
|
+
"Implements the subtraction operator for IEEE 754 floating-point"
|
|
8964
|
+
" numbers.\n\nAnalogous to __subsf3 in libgcc.\n\nr0: a\nr1: b\nreturn: a - b",
|
|
8965
|
+
)
|
|
8966
|
+
|
|
8967
|
+
_ll_mod = Symbol(
|
|
8968
|
+
None,
|
|
8969
|
+
None,
|
|
8970
|
+
None,
|
|
8971
|
+
"Implements the modulus operator for signed long longs.\n\nThe result is"
|
|
8972
|
+
" returned in r0 and r1, in accordance with the Procedure Call Standard for the"
|
|
8973
|
+
" Arm Architecture (see"
|
|
8974
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8975
|
+
" dividend (low bits)\nr1: dividend (high bits)\nr2: divisor (low bits)\nr3:"
|
|
8976
|
+
" divisor (high bits)\nreturn: dividend % divisor",
|
|
8977
|
+
)
|
|
8978
|
+
|
|
8979
|
+
_ll_sdiv = Symbol(
|
|
8980
|
+
None,
|
|
8981
|
+
None,
|
|
8982
|
+
None,
|
|
8983
|
+
"Implements the division operator for signed long longs.\n\nThe result is"
|
|
8984
|
+
" returned in r0 and r1, in accordance with the Procedure Call Standard for the"
|
|
8985
|
+
" Arm Architecture (see"
|
|
8986
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8987
|
+
" dividend (low bits)\nr1: dividend (high bits)\nr2: divisor (low bits)\nr3:"
|
|
8988
|
+
" divisor (high bits)\nreturn: dividend / divisor",
|
|
8989
|
+
)
|
|
8990
|
+
|
|
8991
|
+
_ll_udiv = Symbol(
|
|
8992
|
+
None,
|
|
8993
|
+
None,
|
|
8994
|
+
None,
|
|
8995
|
+
"Implements the division operator for unsigned long longs.\n\nThe result is"
|
|
8996
|
+
" returned in r0 and r1, in accordance with the Procedure Call Standard for the"
|
|
8997
|
+
" Arm Architecture (see"
|
|
8998
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
8999
|
+
" dividend (low bits)\nr1: dividend (high bits)\nr2: divisor (low bits)\nr3:"
|
|
9000
|
+
" divisor (high bits)\nreturn: dividend / divisor",
|
|
9001
|
+
)
|
|
9002
|
+
|
|
9003
|
+
_ull_mod = Symbol(
|
|
8806
9004
|
None,
|
|
8807
9005
|
None,
|
|
8808
9006
|
None,
|
|
8809
|
-
"
|
|
8810
|
-
"
|
|
8811
|
-
"
|
|
9007
|
+
"Implements the modulus operator for unsigned long longs.\n\nThe result is"
|
|
9008
|
+
" returned in r0 and r1, in accordance with the Procedure Call Standard for the"
|
|
9009
|
+
" Arm Architecture (see"
|
|
9010
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
9011
|
+
" dividend (low bits)\nr1: dividend (high bits)\nr2: divisor (low bits)\nr3:"
|
|
9012
|
+
" divisor (high bits)\nreturn: dividend % divisor",
|
|
8812
9013
|
)
|
|
8813
9014
|
|
|
8814
|
-
|
|
9015
|
+
_ll_mul = Symbol(
|
|
8815
9016
|
None,
|
|
8816
9017
|
None,
|
|
8817
9018
|
None,
|
|
8818
|
-
"
|
|
8819
|
-
"
|
|
8820
|
-
"
|
|
8821
|
-
"
|
|
8822
|
-
"
|
|
8823
|
-
"
|
|
9019
|
+
"Implements the multiplication operator for signed long longs.\n\nThe result is"
|
|
9020
|
+
" returned in r0 and r1, in accordance with the Procedure Call Standard for the"
|
|
9021
|
+
" Arm Architecture (see"
|
|
9022
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
9023
|
+
" a (low bits)\nr1: a (high bits)\nr2: b (low bits)\nr3: b (high bits)\nreturn:"
|
|
9024
|
+
" a * b",
|
|
9025
|
+
)
|
|
9026
|
+
|
|
9027
|
+
_s32_div_f = Symbol(
|
|
9028
|
+
None,
|
|
9029
|
+
None,
|
|
9030
|
+
None,
|
|
9031
|
+
"Implements the division operator for signed ints.\n\nAnalogous to __divsi3 in"
|
|
9032
|
+
" libgcc.\n\nThe return value is a 64-bit integer, with the quotient (dividend"
|
|
9033
|
+
" / divisor) in the lower 32 bits and the remainder (dividend % divisor) in the"
|
|
9034
|
+
" upper 32 bits. In accordance with the Procedure Call Standard for the Arm"
|
|
9035
|
+
" Architecture (see"
|
|
8824
9036
|
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return),"
|
|
8825
9037
|
" this means that the quotient is returned in r0 and the remainder is returned"
|
|
8826
9038
|
" in r1.\n\nr0: dividend\nr1: divisor\nreturn: (quotient) | (remainder << 32)",
|
|
8827
9039
|
)
|
|
8828
9040
|
|
|
8829
|
-
|
|
9041
|
+
_u32_div_f = Symbol(
|
|
8830
9042
|
None,
|
|
8831
9043
|
None,
|
|
8832
9044
|
None,
|
|
8833
|
-
"
|
|
8834
|
-
"
|
|
8835
|
-
"
|
|
8836
|
-
" the
|
|
8837
|
-
"
|
|
8838
|
-
" (see"
|
|
9045
|
+
"Implements the division operator for unsigned ints.\n\nAnalogous to __udivsi3"
|
|
9046
|
+
" in libgcc.\n\nThe return value is a 64-bit integer, with the quotient"
|
|
9047
|
+
" (dividend / divisor) in the lower 32 bits and the remainder (dividend %"
|
|
9048
|
+
" divisor) in the upper 32 bits. In accordance with the Procedure Call Standard"
|
|
9049
|
+
" for the Arm Architecture (see"
|
|
8839
9050
|
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return),"
|
|
8840
9051
|
" this means that the quotient is returned in r0 and the remainder is returned"
|
|
8841
|
-
" in r1.\nNote: This function falls through to
|
|
9052
|
+
" in r1.\nNote: This function falls through to _u32_div_not_0_f.\n\nr0:"
|
|
8842
9053
|
" dividend\nr1: divisor\nreturn: (quotient) | (remainder << 32)",
|
|
8843
9054
|
)
|
|
8844
9055
|
|
|
8845
|
-
|
|
9056
|
+
_u32_div_not_0_f = Symbol(
|
|
8846
9057
|
None,
|
|
8847
9058
|
None,
|
|
8848
9059
|
None,
|
|
8849
|
-
"Subsidiary function to
|
|
9060
|
+
"Subsidiary function to _u32_div_f. Skips the initial check for divisor =="
|
|
8850
9061
|
" 0.\n\nThe return value is a 64-bit integer, with the quotient (dividend /"
|
|
8851
9062
|
" divisor) in the lower 32 bits and the remainder (dividend % divisor) in the"
|
|
8852
9063
|
" upper 32 bits. In accordance with the Procedure Call Standard for the Arm"
|
|
@@ -8857,6 +9068,39 @@ class JpItcmArm9Functions:
|
|
|
8857
9068
|
" dividend\nr1: divisor\nreturn: (quotient) | (remainder << 32)",
|
|
8858
9069
|
)
|
|
8859
9070
|
|
|
9071
|
+
_drdiv = Symbol(
|
|
9072
|
+
None,
|
|
9073
|
+
None,
|
|
9074
|
+
None,
|
|
9075
|
+
"The same as _ddiv, but with the parameters reversed.\n\nThis simply swaps the"
|
|
9076
|
+
" first and second parameters, then falls through to _ddiv.\n\nThe result is"
|
|
9077
|
+
" returned in r0 and r1, in accordance with the Procedure Call Standard for the"
|
|
9078
|
+
" Arm Architecture (see"
|
|
9079
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
9080
|
+
" divisor (low bits)\nr1: divisor (high bits)\nr2: dividend (low bits)\nr3:"
|
|
9081
|
+
" dividend (high bits)\nreturn: dividend / divisor",
|
|
9082
|
+
)
|
|
9083
|
+
|
|
9084
|
+
_ddiv = Symbol(
|
|
9085
|
+
None,
|
|
9086
|
+
None,
|
|
9087
|
+
None,
|
|
9088
|
+
"Implements the division operator for IEEE 754 double-precision floating-point"
|
|
9089
|
+
" numbers.\n\nThe result is returned in r0 and r1, in accordance with the"
|
|
9090
|
+
" Procedure Call Standard for the Arm Architecture (see"
|
|
9091
|
+
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return).\n\nr0:"
|
|
9092
|
+
" dividend (low bits)\nr1: dividend (high bits)\nr2: divisor (low bits)\nr3:"
|
|
9093
|
+
" divisor (high bits)\nreturn: dividend / divisor",
|
|
9094
|
+
)
|
|
9095
|
+
|
|
9096
|
+
_fp_init = Symbol(
|
|
9097
|
+
None,
|
|
9098
|
+
None,
|
|
9099
|
+
None,
|
|
9100
|
+
"Meant to do set up for floating point calculations? Does nothing.\n\nNo"
|
|
9101
|
+
" params.",
|
|
9102
|
+
)
|
|
9103
|
+
|
|
8860
9104
|
|
|
8861
9105
|
class JpItcmArm9Data:
|
|
8862
9106
|
|