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.
Post Reply
User avatar
ChosenOreo
Member
Member
Posts: 25
Joined: Sun May 29, 2011 5:16 pm
Location: Inside A Computer
Contact:

NASM Error

Post by ChosenOreo »

I followed a few different OSDev Tutorials and pieced together a working "semi-kernel" (only up to GDT - no IDT yet...) a few days back and today, I went to re-assemble it and I notice that the output file is 5 bytes larger and it triple faults with a GDT error in Bochs. I had one copy of the source on a flash drive, and one copy on my HDD. I tried to assemble both and found that the file was still 5 bytes larger. Is there any way I can verify if nasm is causing the problem, or if both sets of the source code are messed up?
AndrewBuckley
Member
Member
Posts: 95
Joined: Thu Jan 29, 2009 9:13 am

Re: NASM Error

Post by AndrewBuckley »

did you change nasm in any way? in my experience nasm is very consistent and so the tool is probably not to blame. I would highly recommend a quick crash course in git version control. use git liberally to save your stuff and use tig to view the history.
Post Reply