Add stdin reading assembly example
ADD
examples/assembly/consoleReading.s
+# This program will continuously read from STDIN and print
+# the first character from the read buffer.
+
+.data
+prompt1: .string "\nEnter character "
+prompt2: .string "\nCharacter was "
+buffer:
+ .zero 255
+
+.text
+
+readLoop:
+ li a7 4
+ la a0 prompt1
+ ecall
+ call getChar
+ mv t0 a0
+ li a7 4
+ la a0 prompt2
+ ecall
+ mv a0 t0
+ li a7 11
+ ecall
+ j readLoop
+
+
+getChar:
+ # Use syscall "Read" on file descriptor 0 (stdin)
+ li a7 63
+ li a0 0
+ la a1 buffer
+ li a2 255
+ ecall
+ # Read first char of the buffer and return it in a0
+ lw a0 0 a1
+ andi a0 a0 255
+ ret
\ No newline at end of file

MODIFY
examples/examples.qrc
examples/examples.qrc
<file>assembly/leds.s</file>
<file>ELF/RanPi-RV32</file>
<file>ELF/RanPi-RV64</file>
+ <file>assembly/consoleReading.s</file>
</qresource>
</RCC>

Add stdin reading assembly example