The output to the console is “COMP”◦ For “ST R0,#7” the value 7 is added to theincremented PC, i.e. x3001 + x7 = x3008◦ R0 has the value zero, therefore “ST R0,#7” setsx3008 to #0, which is the null terminator for astring.◦ The TRAP x22 service routine is PUTS, which printsa null terminated ASCII string.