From 4b9d6da85ca568c2ffa526b4e624dede7ea70991 Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Sun, 14 Apr 2019 15:30:29 +0000 Subject: [PATCH] Clarify comment --- kernel/intr.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/intr.asm b/kernel/intr.asm index 9b47b31..fbe2403 100644 --- a/kernel/intr.asm +++ b/kernel/intr.asm @@ -32,14 +32,14 @@ intr_init: mov es, ax ; write to IVT mov si, ax ; read from start of IVT table mov di, 0x0100 ; write to offset of int 0x40 address - mov cx, 0x0020 ; 0x10 interrupts, segment:offset each + mov cx, 0x0020 ; 0x10 vectors, segment:offset each repe movsw ; now setup our own handlers mov ax, cs mov ds, ax ; read from local segment mov si, intr_table ; read from intr_table mov di, 0x0000 ; write to start of IVT table - mov cx, 0x0010 ; 0x10 interupts, one offset each + mov cx, 0x0010 ; 0x10 vectors, one offset each .loop: movsw ; read offset, write offset mov ax,cs