TSS nasm error

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Locked
gabemaiberger
Member
Member
Posts: 40
Joined: Tue Nov 13, 2012 2:54 pm

TSS nasm error

Post by gabemaiberger »

My TSS won't compile in my kernel. Here is the code:

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
Here is the error I am getting:

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

Code: Select all

var myCat="marshmallow"
gabemaiberger
Member
Member
Posts: 40
Joined: Tue Nov 13, 2012 2:54 pm

Re: TSS nasm error

Post by gabemaiberger »

Code: Select all

var myCat="marshmallow"
Locked