i need help doing this i am slightly confused as to how to do this....Please help<br /><br />Assembly language programming: input and output. The TRAP service routines GETC and IN each collect only a single character of input at a time. However, the TRAP service routines OUT and PUTS, generate one or a string characters of output, respectively. Write an LC-3 assembly language program that collects many characters of input at a time. In other words, write a service routine (GETS) that gets a string of characters from the keyboard, stores the string in a contiguous block of memory, and loads R0 with the memory address of the beginning of the string. The end of the character string is indicated by a newline character, which is generated when the user presses the ENTER key on the keyboard. Your program should not use any TRAP service routines other than HALT. Update the trap vector table to define trapvector x26, and make a home for your GETS subroutine a memory location x0600. Finally, write a program that uses TRAP x26 to make sure it works.
</div>
</div>