Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Source: * Load Test Code Output: Final Assembly [ 0 0 0 0 ] 0 5 9 8 0 F 0 0 0 2 0
Source: Load Test Code Output: Final Assembly ACE Step : Formatting... Step : Converting numbers... Step : Extracting labels... Step : Substituting labels... Step : Translating to opcodes... Step : Adding Addresses... Step : Final Assembly... finished.Please remember that its WASP assembly code. Please just provide the assemble code. The assemble code should look like comma indicates next line:FAB Write an assembly language program for the WASP processor using the Sting assembler. Your assembly program should allow the user to encrypt a message using a Caesar Cipher. A "Caesar Cipher" is a simple and wellknown way to encrypt text. To use it you first pick a number called the "shift". For example, Then every letter in the message has that number added to it to move it forward in the alphabet. For example, in this case, A becomes DB becomes and so on For numbers at the end of the alphabet, the letters start again from the beginning. In this example the letter would become and the letter would become Using a shift of the text YELLOW SUBMARINE becomes BHOORZ VXEPDULQH. Your program will work as follows: Allow the user to type in a single digit for the shift. The shift will be between and Your program will store the number in a variable. You do not need to handle shifts larger than The user will type text into the console. This will be converted to the encrypted text and displayed on the screen. The program will work for both upper and lowercase characters. The program will not change spaces, digits, or other symbols. The program will halt once it has displayed a line of text. Check for the new line character. For example, if the user enters a shift of then enters "Good morning, Mr Turing!" your program will display: Nvvk tvyupun, Ty Abypun!
Source:
Load Test Code
Output: Final Assembly
ACE
Step : Formatting...
Step : Converting numbers...
Step : Extracting labels...
Step : Substituting labels...
Step : Translating to opcodes...
Step : Adding Addresses...
Step : Final Assembly...
finished.Please remember that its WASP assembly code. Please just provide the assemble code. The assemble code should look like comma indicates next line:FAB
Write an assembly language program for the WASP processor using the Sting assembler.
Your assembly program should allow the user to encrypt a message using a Caesar Cipher.
A "Caesar Cipher" is a simple and wellknown way to encrypt text. To use it you first pick a number
called the "shift". For example, Then every letter in the message has that number added to it to
move it forward in the alphabet. For example, in this case, A becomes DB becomes and
so on For numbers at the end of the alphabet, the letters start again from the beginning. In this
example the letter would become and the letter would become
Using a shift of the text YELLOW SUBMARINE becomes BHOORZ VXEPDULQH.
Your program will work as follows:
Allow the user to type in a single digit for the shift. The shift will be between and Your
program will store the number in a variable. You do not need to handle shifts larger than
The user will type text into the console. This will be converted to the encrypted text and
displayed on the screen.
The program will work for both upper and lowercase characters. The program will not
change spaces, digits, or other symbols.
The program will halt once it has displayed a line of text. Check for the new line character.
For example, if the user enters a shift of then enters "Good morning, Mr Turing!" your program
will display:
Nvvk tvyupun, Ty Abypun!
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