summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b95c4f8)
Push current PC onto stack and take vector address from parameter.
static void
cpu8051_process_interrupt(int pc, int pri)
{
static void
cpu8051_process_interrupt(int pc, int pri)
{
- stack_push16(pc);
- cpu8051.pc = 0x0B;
+ stack_push16(cpu8051.pc);
+ cpu8051.pc = pc;
cpu8051.active_priority = pri;
}
cpu8051.active_priority = pri;
}