Nios/decstr1
From ASMBits
nios/7seg8Previous
Nextnios/decstr2
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
r2=1234 (or 0x4d2)
nios/7seg8Previous
Nextnios/decstr2