Question: I want to make this C + + code in NASM but I don't know how to go about doing it . Here is the
I want to make this C code in NASM but I don't know how to go about doing it Here is the code.
Please make sure you do not use any macros or libraries.
#include
#include
int ispalindromechar buf, int len;
int main
char buf;
int count;
write "Please enter a string:
;
count read buf, ;
while buf
count;
if ispalindromebuf count
writeIt is a palindrome
;
else
writeIt is NOT a palindrome
;
write "Please enter a string:
;
count read buf, ;
return ;
int ispalindromechar buf int len
int i j;
for i j len ; i
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
