#pragma GCC optimize ("Og")
#include "ArduinoTrace.h"
//volatile int8_t a=8,b=7,c; //prueba 1 //c=3
//volatile int8_t a=10,b=9,c; //prueba 2 //c=5
//volatile int8_t a=7,b=8,c; //prueba 3 //c=7
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("INICIO");
//------------- Proceso en alto nivel -------------------
if1:
if (a>b)
{
goto if2;
}
else
{
goto else1;
}
if2:
//{
if(b<=8)
{
goto then1;
}
else
{
goto else2;
}
then1:
//{
c=3;
goto endif1;
//}
// else
else2:
//{
c=5;
goto endif1;
//}
//}
// else
else1:
//{
c=7;
//}
endif1:
//--------------------------------------------------------
DUMP(c);
}
void loop() {
}