atoi macro
Description
Convert a string to a 16 bits number
Usage
atoi [ptr]
ptr may be: (ptr), address
Output
AY: value X: number of digits (ie 10^X)
Example
.include "telestrat.inc"
.include "../orix-sdk/macros/SDK_misc.mac"
atoi mystrnumber
rts
mystrnumber:
.asciiz "12"
Call XDECAY kernel function.
Last update:
2024-02-15