OpenCores
URL https://opencores.org/ocsvn/m1_core/m1_core/trunk

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tests/] [verif/] [beq.c] - Blame information for rev 59

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 fafa1971
int main() {
2
  int a = 0; //r3
3
  int b = 0;
4
  int c = a+b;  //r2
5
asm(" BEQ $3, $2, gravagno");
6
//asm(" BEQ $5, $6, gravagno");
7
asm("nop \n nop ");
8
asm("gravagno:");
9
asm("andi $5 , $2 , 0");
10
  return 0;
11
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.