RISC-V Assembly Language - Convert A String To An Integer

Project #1

Create a function to convert a string of decimal digit characters ('0' to '9') to an integer. Print the starting string and the resulting integer. (A leading sign + or - may be included in the string.)

Project #2

Repeat Project #1 except convert a string containing hex digits. (for example: 0xa43ff)

Project #3

Repeat Project #1 except convert a string containing scientific notation. (for example: -3.54e-6)

Diagrams

Integer

Scientific Notation

Project #4: Draw a state diagram for floats. (Float example: 3.14159)