Please write in ARM ASSEMBLY LANGUAGE CORTEX M3 (Mustbe cortex m3 arm assembly language)
MAIN FUNCTION :
extern int computeMagicNumber(char *);int main(void) { char name[255]=”Yusuf Ozturk”; int magic; magic=computeMagicNumber(name); printf(“n Magic number is %dn”,magic); return EXIT_SUCCESS;}
}
the full question is
Write an assembly language function named computeMagicNumberwhich will accept a string (name of an individual) as input andcompute a magic number from this argument using the followingformula.
![N-1 MagicNun ber-C2(1+1)x(ascii(nameliD)%1001 (it 1) ×lascii(nameli])| |961001 i 0](https://d2vlcm61l7u1fs.cloudfront.net/media%2Fa63%2Fa63d8dd0-8969-432a-a128-32d12dc0ace9%2FphpCNVl50.png)
In
PayPal Gateway not configured
PayPal Gateway not configured