Hello All, I am a new user of the ARM7 LPC2100 chip. Can anyone help? I cannot exercise the code that was supposed to enable and disable in the nested interrupts (IENABLE & IDISABLE MACRO). These two MACROs are in EX14 of the "lpc2100bookexamples". __asm void IENABLE(void) {
MRS LR, SPSR STMFD SP!, {LR} MSR CPSR_c, #0x1F (***1) STMFD SP!, {LR} } __asm void IDISABLE(void) { (***2) LDMFD SP!, {LR} MSR CPSR_c, #0x92 LDMFD SP!, {LR} MSR SPSR_cxsf, LR } I stepped through IENABLE. When it reached (***1), it went straigt to (***2). It did not return to where it was called, but went to (***2) instead. Have I done anything wrong? Thanks in advance!