Page 1 of 2
What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 1:46 pm
by stevej150
Hey guys. I want to expand my learning. I know quite a lot of OS development. However, I only know a few things.
I want to learn more about instructions, interrupts, entering and using protected mode (32-bit) and long mode (64-bit).
Where could I learn even more? I don't want a guide that talks about decimal, hex and binary if you know what I mean. Where would you learn? I've read more of the articles on the OSDev Wiki. I don't want to play around with other projects. I just want documentation or something. It can have things to do with hardware and drivers.
Cheers
Steve
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 1:54 pm
by BrightLight
Don't keep asking the same question over and over again. Google will get you good results.
Hint: If you need documentation about x86 CPUs, the Intel software development manuals volume 2 (instruction set reference) and volume 3 (system programming guide) are what you need.
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 2:03 pm
by stevej150
What links can I go to?
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 2:19 pm
by hannah
Me thinks you are AndrewThompson555
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 2:20 pm
by stevej150
Who is that? Me think? Are you serious? Who in the world is Andrewthompson555?
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 2:52 pm
by iansjack
stevej150 wrote:What links can I go to?
This is probably the best one:
http://www.google.com .
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 3:07 pm
by stevej150
hannah wrote:Me thinks you are AndrewThompson555
Are you serious?
iansjack wrote:stevej150 wrote:What links can I go to?
This is probably the best one:
http://www.google.com .
Well, I know what Google is. I mean links to the references! I've tried Google. You must probably think I'm a beginner. Guess what. I'm not. I know how to do things. I know about INT 10h functions and even INT 16h!
I was meaning to learning more about instructions and a few more interrupts. By the way, how would I add a number?
I've tried doing it but it shows just special symbols.
By the way, how would I add a number to a register (using something like mov ptr test, ax) and print it out?
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 3:21 pm
by dozniak
stevej150 wrote: I know how to do things. I know about INT 10h functions and even INT 16h!
You stopped being funny a while ago.
Google for "intel manual volume 3" or "intel manual volume 2" - google is not stupid and will show you relevant links. Make sure you are able to read before starting this exercise.
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 3:31 pm
by hgoel
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 3:34 pm
by stevej150
Why... yes! But the Intel manual seems kinda... you know. I guess it isn't really something to learn from. What did you guys learn from? Did you learn from all these manuals? Probably not.
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 3:39 pm
by glauxosdever
Hi,
Manuals, references... all of them are helpful.
Regards,
glauxosdever
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 3:46 pm
by hgoel
stevej150 wrote:Why... yes! But the Intel manual seems kinda... you know. I guess it isn't really something to learn from. What did you guys learn from? Did you learn from all these manuals? Probably not.
Actually, that is where I learned x86 assembly from. I started with MIPS in a simulator to gain an understanding of assembly in general and managed to apply that knowledge over to x86 using instruction references either directly from the manuals or from sources derived from the manuals.
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 3:47 pm
by iansjack
stevej150 wrote:You must probably think I'm a beginner.
If it looks like a duck, and quacks like a duck, ....
Did you learn from all these manuals? Probably not.
Probably.
The manuals can be quite daunting for a beginner - but you're not a beginner.
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 3:54 pm
by stevej150
Is there a manual that doesn't always give Gibberish about hex, decimal and binary? Is there something that actually teaches you about instructions, functions, interrupts and hardware? Things that you don't really know.
Re: What very good tutorials are out there for Assembly?
Posted: Mon Jan 30, 2017 4:05 pm
by hgoel
stevej150 wrote:Is there a manual that doesn't always give Gibberish about hex, decimal and binary? Is there something that actually teaches you about instructions, functions, interrupts and hardware? Things that you don't really know.
The 'gibberish' about numeric representations is an important part of the teaching about the instructions thing.
The manuals I linked are enough to potentially design and implement an x86 processor, so they definitely cover everything you want to know assuming that you know what those things are at a basic level.
Instructions are all completely described in volume 2.
Interrupts and switching between processor modes is all completely covered in volume 3.
However, all this involves having an understanding of hex and binary notation as a lot of these things require manipulating bit fields in various registers.
Now if you want to learn things like 'What is an interrupt?' that's a different question altogether.