Answered step by step
Verified Expert Solution
Question
1 Approved Answer
// Template for assignment 2 Strings Task 2.1, 2.2 // // Your assignment submission needs to be based on this template. // // Carefully
// Template for assignment 2 Strings Task 2.1, 2.2 // // Your assignment submission needs to be based on this template. // // Carefully read the instructions. // // This template is only for Tasks 2.1 and 2.2 and does not include any subroutines // // Make sure all code is your own, and don't share any code // or code fragments with other students. / Task 2.2: Print / insert your code here Task 2.1: Your name / ... insert string to be printed (your name) // Template for assignment 2 - Strings - Tasks from 2.3 to 2.7 // // Your assignment submission needs to be based on this template. // // Only submit a single copy of this file that combines your solutions // for all the tasks. // // Carefully read the instructions. // // You need to complete the subroutine and add a string to test the subroutine. // // Make sure all code is your own, and don't share any code // or code fragments with other students. / Code for your main program to call the subroutine / ... add code to call the soubroutines for the particular task / Finish execution Halt Task 2.3 - Subroutine for printing strings PrintFrom, subPrint, HEX 0 HEX 0 This is the address of the start of the String. / subroutine start add subroutine code from Task 2.3 Task 2.4 subroutine for string input InputStringStart, HEX / This is the address where to store the string subRead, HEX 0 / subroutine start add subroutine for reading input from user Task 2.5 - subroutine to convert to upper case subUpperCase, HEX 0 / subroutine start ... add subroutine to convert to upper case / Task 2.6 - subroutine for ROT13 subROT13, HEX 0 / subroutine start ... add ROT13 subroutine Task 2.7 alternative subroutine for ROT13 with special characters subSROT13, HEX O / subroutine start add ROT13 subroutine
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started