How can I input unsigned integer 16 (uint16
, halfword) from console and store it in MIPS?
Should I load it as string or int?
I know I can use syscalls with different trap codes for input, but how can I input uint16
?
read_int 5
read_float 6
read_double 7
read_string 8