void setup() {
// put your setup code here, to run once:
asm(".word 0xE072");//r23<--0x02 lo está asignando a un registro
asm(".word 0x9370, 0x0024");//0x24<--0x02 ; DDRB=0x02 (pin PB1 como salida)
asm(".word 0x9370, 0x0025");//0x025<--0x02 ; PORTB=0x02 (pin PB1 aquiere el valor de 1(5v))
asm(".word 0xE180");//r24<--0x10 lo está asignando a un registro
asm(".word 0x9380, 0x002A");//0x2A<--0x10 ; DDRD=0x10 (pin PD4 como salida)
asm(".word 0x9380, 0x002B");//0x2B<--0x10 ; PORTD=0x10 (pin PD4 adquiere el valor de 1(5v))
}
void loop() {
// put your main code here, to run repeatedly:
}