please let me know as soon as possible

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • varmar64
    New Member
    • Feb 2010
    • 2

    #1

    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.
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2

    Show some effort.

    Comment

    Working...