Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am working on ROT13 program with linux. I have to use I/O such as Stdin and Stdout, so i am using Read and write.

I am working on ROT13 program with linux.

I have to use I/O such as Stdin and Stdout, so i am using Read and write.

The code in the Read section as below

--------------------------------------------------------------

mov eax,3

mov ebx, 0

mov ecx,Buff

mov edx,1

int 80h

cmp eax,0

je,exit

cmp byte[Buff],41h

jb Write

cmp byte [Buff],7Ah

ja Write

---------------------------------------------------------------------

I don't know how to compare the upper case letters and lower case letters seperately.

For example, if i put "Hello. My name is Bob.", i have to get "Uryyb. Zl anzr vf Obo."

Please help me out.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions