TSS nasm error
Posted: Mon Jul 22, 2013 1:47 pm
My TSS won't compile in my kernel. Here is the code:
Here is the error I am getting:
Code: Select all
TSS:
istruc TSS
at .prevTss, dd 0
at .esp0, dd 0
at .ss0, dd 0x10
at .es, dd 0x10
at .cs, dd 0x08
at .ss, dd 0x10
at .ds, dd 0x10
at .fs, dd 0x10
at .gs, dd 0x10
iend
Code: Select all
./Code/System/kernel.asm:320: error: non-constant argument supplied to TIMES
./Code/System/kernel.asm:321: error: non-constant argument supplied to TIMES
./Code/System/kernel.asm:322: error: non-constant argument supplied to TIMES
./Code/System/kernel.asm:323: error: non-constant argument supplied to TIMES
./Code/System/kernel.asm:324: error: non-constant argument supplied to TIMES
./Code/System/kernel.asm:325: error: non-constant argument supplied to TIMES
./Code/System/kernel.asm:326: error: non-constant argument supplied to TIMES
./Code/System/kernel.asm:327: error: non-constant argument supplied to TIMES
./Code/System/kernel.asm:328: error: non-constant argument supplied to TIMES