pmdsky-debug-py 9.0.4__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 +292 -58
- pmdsky_debug_py/eu_itcm.py +292 -58
- pmdsky_debug_py/jp.py +292 -58
- pmdsky_debug_py/jp_itcm.py +292 -58
- pmdsky_debug_py/na.py +292 -58
- pmdsky_debug_py/na_itcm.py +292 -58
- pmdsky_debug_py/protocol.py +129 -19
- {pmdsky_debug_py-9.0.4.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.4.dist-info/RECORD +0 -14
- {pmdsky_debug_py-9.0.4.dist-info → pmdsky_debug_py-9.0.5.dist-info}/WHEEL +0 -0
- {pmdsky_debug_py-9.0.4.dist-info → pmdsky_debug_py-9.0.5.dist-info}/top_level.txt +0 -0
pmdsky_debug_py/eu_itcm.py
CHANGED
|
@@ -140,7 +140,7 @@ class EuItcmArm7Functions:
|
|
|
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 EuItcmArm7Functions:
|
|
|
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 EuItcmArm7Functions:
|
|
|
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 EuItcmArm7Section:
|
|
|
195
195
|
|
|
196
196
|
class EuItcmArm9Functions:
|
|
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 EuItcmArm9Functions:
|
|
|
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 EuItcmArm9Functions:
|
|
|
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,
|
|
@@ -8744,119 +8744,320 @@ class EuItcmArm9Functions:
|
|
|
8744
8744
|
"The wcslen(3) C library function.\n\nr0: ws\nreturn: length of ws",
|
|
8745
8745
|
)
|
|
8746
8746
|
|
|
8747
|
-
|
|
8747
|
+
_dadd = Symbol(
|
|
8748
8748
|
None,
|
|
8749
8749
|
None,
|
|
8750
8750
|
None,
|
|
8751
|
-
"
|
|
8752
|
-
"
|
|
8753
|
-
"
|
|
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",
|
|
8754
8757
|
)
|
|
8755
8758
|
|
|
8756
|
-
|
|
8759
|
+
_d2f = Symbol(
|
|
8757
8760
|
None,
|
|
8758
8761
|
None,
|
|
8759
8762
|
None,
|
|
8760
|
-
"
|
|
8761
|
-
"
|
|
8762
|
-
"
|
|
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",
|
|
8763
8766
|
)
|
|
8764
8767
|
|
|
8765
|
-
|
|
8768
|
+
_ll_ufrom_d = Symbol(
|
|
8766
8769
|
None,
|
|
8767
8770
|
None,
|
|
8768
8771
|
None,
|
|
8769
|
-
"
|
|
8770
|
-
"
|
|
8771
|
-
"
|
|
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",
|
|
8772
8778
|
)
|
|
8773
8779
|
|
|
8774
|
-
|
|
8780
|
+
_dflt = Symbol(
|
|
8775
8781
|
None,
|
|
8776
8782
|
None,
|
|
8777
8783
|
None,
|
|
8778
|
-
"
|
|
8779
|
-
"
|
|
8780
|
-
"
|
|
8781
|
-
"
|
|
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",
|
|
8782
8789
|
)
|
|
8783
8790
|
|
|
8784
|
-
|
|
8791
|
+
_dfltu = Symbol(
|
|
8785
8792
|
None,
|
|
8786
8793
|
None,
|
|
8787
8794
|
None,
|
|
8788
|
-
"
|
|
8789
|
-
"
|
|
8790
|
-
"
|
|
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",
|
|
8791
8800
|
)
|
|
8792
8801
|
|
|
8793
|
-
|
|
8802
|
+
_dmul = Symbol(
|
|
8794
8803
|
None,
|
|
8795
8804
|
None,
|
|
8796
8805
|
None,
|
|
8797
|
-
"
|
|
8798
|
-
"
|
|
8799
|
-
"
|
|
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",
|
|
8800
8812
|
)
|
|
8801
8813
|
|
|
8802
|
-
|
|
8814
|
+
_dsqrt = Symbol(
|
|
8803
8815
|
None,
|
|
8804
8816
|
None,
|
|
8805
8817
|
None,
|
|
8806
|
-
"
|
|
8807
|
-
"
|
|
8808
|
-
"
|
|
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(
|
|
8891
|
+
None,
|
|
8892
|
+
None,
|
|
8893
|
+
None,
|
|
8894
|
+
"Implements the < operator for IEEE 754 floating-point numbers.\n\nr0: a\nr1:"
|
|
8895
|
+
" b\nreturn: a < b",
|
|
8896
|
+
)
|
|
8897
|
+
|
|
8898
|
+
_fdiv = Symbol(
|
|
8899
|
+
None,
|
|
8900
|
+
None,
|
|
8901
|
+
None,
|
|
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",
|
|
8905
|
+
)
|
|
8906
|
+
|
|
8907
|
+
_f2d = Symbol(
|
|
8908
|
+
None,
|
|
8909
|
+
None,
|
|
8910
|
+
None,
|
|
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",
|
|
8917
|
+
)
|
|
8918
|
+
|
|
8919
|
+
_ffix = Symbol(
|
|
8920
|
+
None,
|
|
8921
|
+
None,
|
|
8922
|
+
None,
|
|
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",
|
|
8927
|
+
)
|
|
8928
|
+
|
|
8929
|
+
_fflt = Symbol(
|
|
8930
|
+
None,
|
|
8931
|
+
None,
|
|
8932
|
+
None,
|
|
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",
|
|
8936
|
+
)
|
|
8937
|
+
|
|
8938
|
+
_ffltu = Symbol(
|
|
8939
|
+
None,
|
|
8940
|
+
None,
|
|
8941
|
+
None,
|
|
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",
|
|
8945
|
+
)
|
|
8946
|
+
|
|
8947
|
+
_fmul = Symbol(
|
|
8948
|
+
None,
|
|
8949
|
+
None,
|
|
8950
|
+
None,
|
|
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",
|
|
8809
8953
|
)
|
|
8810
8954
|
|
|
8811
8955
|
sqrtf = Symbol(
|
|
8812
8956
|
None, None, None, "The sqrtf(3) C library function.\n\nr0: x\nreturn: sqrt(x)"
|
|
8813
8957
|
)
|
|
8814
8958
|
|
|
8815
|
-
|
|
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(
|
|
8816
8992
|
None,
|
|
8817
8993
|
None,
|
|
8818
8994
|
None,
|
|
8819
|
-
"
|
|
8820
|
-
"
|
|
8821
|
-
"
|
|
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",
|
|
8822
9001
|
)
|
|
8823
9002
|
|
|
8824
|
-
|
|
9003
|
+
_ull_mod = Symbol(
|
|
8825
9004
|
None,
|
|
8826
9005
|
None,
|
|
8827
9006
|
None,
|
|
8828
|
-
"
|
|
8829
|
-
"
|
|
8830
|
-
"
|
|
8831
|
-
"
|
|
8832
|
-
"
|
|
8833
|
-
" (
|
|
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",
|
|
9013
|
+
)
|
|
9014
|
+
|
|
9015
|
+
_ll_mul = Symbol(
|
|
9016
|
+
None,
|
|
9017
|
+
None,
|
|
9018
|
+
None,
|
|
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"
|
|
8834
9036
|
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return),"
|
|
8835
9037
|
" this means that the quotient is returned in r0 and the remainder is returned"
|
|
8836
9038
|
" in r1.\n\nr0: dividend\nr1: divisor\nreturn: (quotient) | (remainder << 32)",
|
|
8837
9039
|
)
|
|
8838
9040
|
|
|
8839
|
-
|
|
9041
|
+
_u32_div_f = Symbol(
|
|
8840
9042
|
None,
|
|
8841
9043
|
None,
|
|
8842
9044
|
None,
|
|
8843
|
-
"
|
|
8844
|
-
"
|
|
8845
|
-
"
|
|
8846
|
-
" the
|
|
8847
|
-
"
|
|
8848
|
-
" (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"
|
|
8849
9050
|
" https://github.com/ARM-software/abi-aa/blob/60a8eb8c55e999d74dac5e368fc9d7e36e38dda4/aapcs32/aapcs32.rst#result-return),"
|
|
8850
9051
|
" this means that the quotient is returned in r0 and the remainder is returned"
|
|
8851
|
-
" in r1.\nNote: This function falls through to
|
|
9052
|
+
" in r1.\nNote: This function falls through to _u32_div_not_0_f.\n\nr0:"
|
|
8852
9053
|
" dividend\nr1: divisor\nreturn: (quotient) | (remainder << 32)",
|
|
8853
9054
|
)
|
|
8854
9055
|
|
|
8855
|
-
|
|
9056
|
+
_u32_div_not_0_f = Symbol(
|
|
8856
9057
|
None,
|
|
8857
9058
|
None,
|
|
8858
9059
|
None,
|
|
8859
|
-
"Subsidiary function to
|
|
9060
|
+
"Subsidiary function to _u32_div_f. Skips the initial check for divisor =="
|
|
8860
9061
|
" 0.\n\nThe return value is a 64-bit integer, with the quotient (dividend /"
|
|
8861
9062
|
" divisor) in the lower 32 bits and the remainder (dividend % divisor) in the"
|
|
8862
9063
|
" upper 32 bits. In accordance with the Procedure Call Standard for the Arm"
|
|
@@ -8867,6 +9068,39 @@ class EuItcmArm9Functions:
|
|
|
8867
9068
|
" dividend\nr1: divisor\nreturn: (quotient) | (remainder << 32)",
|
|
8868
9069
|
)
|
|
8869
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
|
+
|
|
8870
9104
|
|
|
8871
9105
|
class EuItcmArm9Data:
|
|
8872
9106
|
|