Arm/decstr1

From ASMBits

arm/7seg8Previous

Write a function that reads an ASCII null-terminated string containing decimal digits, and returns the value of the number. The number is guaranteed to fit within an unsigned 32-bit number.

Sample Input

"1234"

Sample Output

r0=1234 (or 0x4d2)

Write your solution here

Upload a source file...