Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C while loops into assembly ??

Name: Anonymous 2007-09-12 5:23 ID:ETNdMjth

Consider the C code function below:

void qwerty(int *x, int *y, int size)
{
  int k=0;
  while ( k < size ) {
     *(x + k) = *(y + k);
     k++;
   }
}

ii) Construct an ARM assembly code version which implements the C code within the function qwerty. You may assume that registers a1 and a2 contain the pointers x and y respectively, and that register a3 contains the size argument.

Name: Anonymous 2007-09-12 6:11 ID:Heaven

>>11
Have fun failing at CS, when you can't even answer the most basic tasks.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List