hi guyz, currently i am using cortex m4, and i have to make a string reverse function that print the strings back ward.
this is what i have done so far....*
#include "derivative.h"
#include <stdint.h>
#include "clock.h"
#include <stdio.h>
#include"freedom.h"
#include "uart.h"
void stringreverse(char array[3]);
int main(void) {
clock_initialise();
char string[] = {'H', 'E','\0'};
printf("Greeting message: %s\n", string );
stringreverse(string);
printf("%s\n", string);
return 0;
i dont know if this the right c program to test the function, but i seriously dont know how implement the function in assembly language.
i would be appreciated if u guyz helped me.
thanks.