diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-04-14 00:04:10 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-04-14 00:56:48 +0300 |
| commit | e6d966cebc15e21cb64012d314f74f54dc35eead (patch) | |
| tree | f078c1b23063f8daf71fa0acebf1fed7f0e2781b /asm/bootstrap.atk16 | |
| parent | b5a8de55f896a6ce474fb6e9ccba2f33b019e74e (diff) | |
Get interrupts working
Diffstat (limited to 'asm/bootstrap.atk16')
| -rw-r--r-- | asm/bootstrap.atk16 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/asm/bootstrap.atk16 b/asm/bootstrap.atk16 index c7ab63e..73165b9 100644 --- a/asm/bootstrap.atk16 +++ b/asm/bootstrap.atk16 @@ -7,10 +7,11 @@ hlt_isr ; 0x12 ISR2 hlt_isr ; 0x13 ISR3 stack_segment ; 0x14 Stack address + 0x0 ; 0x15 Interrupt PC address (IPCA) @label hlt_isr - ldi 0x55 RA - hlt + ldi 0x55 RE + rti @label program_segment @address 0x0 |
