User Profile

Collapse

Profile Sidebar

Collapse
varmar64
varmar64
Last Activity: Feb 25 '10, 05:18 PM
Joined: Feb 25 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • varmar64
    started a topic please let me know as soon as possible
    in C

    please let me know as soon as possible

    1. Write the ARM code of the following fragment of C code:

    Switch(i) {
    case 0: a=b+c; break;
    case 1: a=b-c; break;
    case 2: a=b*c; break;
    case 3: a=b/c; break;
    }

    The input is i, the output is a. You need to initialize the variables b, and c respectively.
    See more | Go to post

  • I have posted the question below...i have understood logic but not the code...

    Write the ASM code to copy 32-bit unsigned numbers from array List1 started with the address specified in register R1 to List2 stared with the address specified in register R2. The accumulative sum of the numbers is kept in R3. The program stops copying when it finds a word equal to 0 in List 1 or the sum is greater than 100(decimal).
    See more | Go to post
No activity results to display
Show More
Working...