C Code C à MIPS Assembly Converter Online
print("salam")
Silly Skunk
print("salam")
int j = 5;
int i = 0;
int k = 5;
while (i < 10)
{
if((i == j) || ((i + j) < k))
k += 2;
else
k += 1;
}
int i=0, j=0, k=2;
while(i==j){
i++; j++;
if(i>>2==k)
j=0;
}
#include<stdio.h>
int main()
{
printf("Hello");
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
printf("Olá Mundo!\n");
return 0;
}
while(S[i]!=k)
{
i++;
temp = temp+p+6;
if(i==j)
break;
}
a=a+b;
addi $3, $0, 7
start: addi $3, $3, -1
add $2, $2, $2
bne $0, $3, start
count:
#include<stdio.h>
#define MAX 10
int main(){
int a[MAX];
int i;
for(i=0;i<MAX;i++);
a[i]=i;
}
addi $3, $0, 15
start: addi $3, $3, -1
add $2, $2, $2
bne $0, $3, start
count:
if X<=Y then
Y= Y +1
else if X != Z then
Y = Y - 1
else
Z = Z + 1