What very good tutorials are out there for Assembly?
What very good tutorials are out there for Assembly?
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
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
One day in the future... computers will be holograms...
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: What very good tutorials are out there for Assembly?
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.
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.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Re: What very good tutorials are out there for Assembly?
What links can I go to?
One day in the future... computers will be holograms...
Re: What very good tutorials are out there for Assembly?
Me thinks you are AndrewThompson555
Re: What very good tutorials are out there for Assembly?
Who is that? Me think? Are you serious? Who in the world is Andrewthompson555?
One day in the future... computers will be holograms...
Re: What very good tutorials are out there for Assembly?
This is probably the best one: http://www.google.com .stevej150 wrote:What links can I go to?
Re: What very good tutorials are out there for Assembly?
Are you serious?hannah wrote:Me thinks you are AndrewThompson555
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!iansjack wrote:This is probably the best one: http://www.google.com .stevej150 wrote:What links can I go to?
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?
One day in the future... computers will be holograms...
Re: What very good tutorials are out there for Assembly?
You stopped being funny a while ago.stevej150 wrote: I know how to do things. I know about INT 10h functions and even INT 16h!
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.
Learn to read.
- hgoel
- Member
- Posts: 89
- Joined: Sun Feb 09, 2014 7:11 pm
- Libera.chat IRC: hgoel
- Location: Within a meter of a computer
Re: What very good tutorials are out there for Assembly?
Here you go: https://software.intel.com/en-us/articl ... ree-volume
Enjoy reading.
Enjoy reading.
"If the truth is a cruel mistress, than a lie must be a nice girl"
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
Re: What very good tutorials are out there for Assembly?
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.
One day in the future... computers will be holograms...
-
- Member
- Posts: 501
- Joined: Wed Jun 17, 2015 9:40 am
- Libera.chat IRC: glauxosdever
- Location: Athens, Greece
Re: What very good tutorials are out there for Assembly?
Hi,
Manuals, references... all of them are helpful.
Regards,
glauxosdever
Manuals, references... all of them are helpful.
Regards,
glauxosdever
- hgoel
- Member
- Posts: 89
- Joined: Sun Feb 09, 2014 7:11 pm
- Libera.chat IRC: hgoel
- Location: Within a meter of a computer
Re: What very good tutorials are out there for Assembly?
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.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.
"If the truth is a cruel mistress, than a lie must be a nice girl"
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
Re: What very good tutorials are out there for Assembly?
If it looks like a duck, and quacks like a duck, ....stevej150 wrote:You must probably think I'm a beginner.
Probably.Did you learn from all these manuals? Probably not.
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?
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.
One day in the future... computers will be holograms...
- hgoel
- Member
- Posts: 89
- Joined: Sun Feb 09, 2014 7:11 pm
- Libera.chat IRC: hgoel
- Location: Within a meter of a computer
Re: What very good tutorials are out there for Assembly?
The 'gibberish' about numeric representations is an important part of the teaching about the instructions thing.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 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.
"If the truth is a cruel mistress, than a lie must be a nice girl"
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!