diff options
Diffstat (limited to 'libpsn00b/psxapi/stdio')
| -rw-r--r-- | libpsn00b/psxapi/stdio/atoi.s | 9 | ||||
| -rw-r--r-- | libpsn00b/psxapi/stdio/atol.s | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/libpsn00b/psxapi/stdio/atoi.s b/libpsn00b/psxapi/stdio/atoi.s new file mode 100644 index 0000000..74c4ae7 --- /dev/null +++ b/libpsn00b/psxapi/stdio/atoi.s @@ -0,0 +1,9 @@ +.set noreorder +.section .text + +.global atoi +.type atoi, @function +atoi: + addiu $t2, $0, 0xa0 + jr $t2 + addiu $t1, $0, 0x10 diff --git a/libpsn00b/psxapi/stdio/atol.s b/libpsn00b/psxapi/stdio/atol.s new file mode 100644 index 0000000..f0da653 --- /dev/null +++ b/libpsn00b/psxapi/stdio/atol.s @@ -0,0 +1,9 @@ +.set noreorder +.section .text + +.global atol +.type atol, @function +atol: + addiu $t2, $0, 0xa0 + jr $t2 + addiu $t1, $0, 0x11 |
