Dear all, Daft question, I'm trying to setup a couple of IRQs (in assembly) and I'm getting some odd results, here's the first part of my setup ;- LDI Temp, Low(Ramend) OUT SPL, Temp ; setup stack pointer LDI Temp, High(Ramend) OUT SPH, Temp ; **** setup IRQs LDI Temp, 0b00001010 OUT MCUCR,Temp ; Setup MCUCR for falling edge interupts. LDI Temp, 0b11000000 ; enable ext. INT1 and INT0 OUT GICR,Temp ; by setting General Interupt Control Register I assume the stack and IRQ setup is ok? or is it shot to peices? Paul
Message
Stack
2004-12-23 by Paul Maddox
Attachments
- No local attachments were found for this message.