URL
https://opencores.org/ocsvn/lxp32/lxp32/trunk
Subversion Repositories lxp32
[/] [lxp32/] [trunk/] [verify/] [lxp32/] [src/] [firmware/] [test016.asm] - Rev 12
Compare with Previous | Blame | View Log
/** Test wake-up interrupts*/lc r100, 0x10000000 // test result output pointerlc r101, haltlc r102, 0x30000000 // coprocessor input registerlc r103, 0x30000004 // coprocessor output registerlc r104, failurelcs cr, 0x0404 // enable coprocessor interrupt and mark it as wake-upsw r102, 33hltlw r1, r103cjmpne r104, r1, 99sw r100, 1 // successhalt:hltjmp r101 // haltfailure:sw r100, 2jmp r101 // halt
