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

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tests/] [verif/] [blez.c] - Rev 59

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

int main() {
  int a = -7;
  int b = 7;
  int c = a+b;	
//asm("nop \n nop \n BLEZ $3 , vari");
//asm("NOP \n NOP \n NOP \n NOP \n BLEZ $3 , vari ");       //caso funzionante
asm("BLEZ $3 , vari ");
asm("nop \n nop ");
asm("vari:");
asm("andi $5 , $2 , 0");
  return 0;
}
 

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

powered by: WebSVN 2.1.0

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