MARIE Problem


I have a problem to solve this exercise. someone help me?

Using the MARIE simulator, please code the following C language fragments and, for
each one of them, explain the internal behaviour of the computing system.

a) ...
short int a[100], b[100];
array_dup(a, b, 100);
void array_dup(short int dest, short int source, short int size){
short int i;
for(i=0; i<size; i++)
dest[i] = source[i];

b) ...
short int t;
t = sum(50);
short int sum(short int x){
if(x == 1)
return x;
return x + sum(x
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!