Ok I know some general stuff about assembly but I have generally tried to avoid it. To work with "Bare Bones" which is the first and easiest of the OS tutorials I am assuming, assembly is going to be needed. Does anyone have any opinions about where good assembly tutorials are? DJ Delorie's site looks good. How deep into this is one going to have to go to do the bare bones project? I am thinking writing a MBR and bootsector.
assembly
- dchapiesky
- Member
- Posts: 204
- Joined: Sun Dec 25, 2016 1:54 am
- Libera.chat IRC: dchapiesky
Re: assembly
Before choosing which assembly tutorial... you should make us aware what architecture you mean to target.... as in i486? or x86_64? etc... that will play a role in just what tutorials to suggest....
Plagiarize. Plagiarize. Let not one line escape thine eyes...
Re: assembly
I am running a x64. I am going with the wiki and I will compile for i686-elf.dchapiesky wrote:Before choosing which assembly tutorial... you should make us aware what architecture you mean to target.... as in i486? or x86_64? etc... that will play a role in just what tutorials to suggest....
Re: assembly
wait, wat.billcu wrote: x64. for i686-elf.
do you mean your host machine is x86_64 and you're targeting plain x86?
Learn to read.
Re: assembly
Yes. bare Bones wants you to build a i686-elf binary OS. I am trying to find all the compiler switches I would need.dozniak wrote:wait, wat.billcu wrote: x64. for i686-elf.
do you mean your host machine is x86_64 and you're targeting plain x86?
Re: assembly
Trybillcu wrote:Yes. bare Bones wants you to build a i686-elf binary OS. I am trying to find all the compiler switches I would need.dozniak wrote:wait, wat.billcu wrote: x64. for i686-elf.
do you mean your host machine is x86_64 and you're targeting plain x86?
http://cs.lmu.edu/~ray/notes/nasmtutorial/
http://asmtutor.com
http://stackoverflow.com/questions/1947 ... m-tutorial
should be enough for starters (yup, all three are top hits from a google search, because it's faster than asking on forums)
Learn to read.