This is an assembly language/computer org.problem.
Problem 1: Write a function print_line thatmimics system call 4. The only input parameter to this functionshould be the memory address of the start of a null terminatedcharacter array (appropriately stored on the stack). The functionshould utilize MMIO to print out the characters in the array one byone. Once the null terminator is reached, print out a newlinecharacter.
Problem 2: Write a function read_int thatmimics system call 5 (but only for non-negative integers). Thefunction needs no input parameters but should return the integergenerated by the user key presses (appropriately stored onto thestack). To read in an
OR
OR