lib/rouge/demos/nasm in rouge-3.15.0 vs lib/rouge/demos/nasm in rouge-3.16.0
- old
+ new
@@ -8,15 +8,15 @@
%endmacro
extern irq_handler
irq_common_stub:
- pusha ; Pushes edi,esi,ebp,esp,ebx,edx,ecx,eax
- mov ax, ds ; Lower 16-bits of eax = ds.
- push eax ; save the data segment descriptor
- mov ax, 0x10 ; load the kernel data segment descriptor
- mov edx, eax
- call irq_handler
+ pusha ; push all general-purpose registers
+ mov ax, ds ; lower 16-bits of eax = ds
+ push eax ; save the data segment descriptor
+ mov ax, 0x10 ; load the kernel data segment descriptor
+ mov edx, eax
+ call irq_handler
%assign i 0
%rep 8
ISR_NOERRCODE i
%assign i i+1