Question
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
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