Implement a simple caesar cipher using NASM assembly language for 64 bit Intel Architecture including the following part

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Implement a simple caesar cipher using NASM assembly language for 64 bit Intel Architecture including the following part

Post by answerhappygod »

Implement a simple caesar cipher using NASM assembly languagefor 64 bit Intel Architecture including the following parts:
1: the code asks the user for a location between 0 and 25. (doerror correction if it's outside this range)
2: the code asks the user for a string and displays the uneditedstring that the user entered. (do error correction if the string isless than 8 characters, spaces inclu
3: finally, the code displays an edited string to the useredited in the following way: Shift every letter in the message bythe indicated number of positions in the alphabet. When a lettergets shifted past the beginning or end of the alphabet, wrap aroundto the other end to continue. For example, a 6 would shift any 'e'characters to 'k'. The shift must be applied to all letters in themessage. Do not change any non-alphabet characters in the message,and preserve all capitalization.
Example output 1:
Enter shift value: 6
Enter original message: This is the original message.
Current message: This is the original message.
Encryption: Znoy oy znk uxomotgr skyygmk.
Example output 2:
Enter shift value: 10
Enter original message: This is the original message.
Current message: This is the original message.
Encryption: Drsc sc dro ybsqsxkv wocckqo.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply