I will never get anywhere with x86 Assembly. All I'll get is a bunch of guides explaining how a CPU works. We want to know about registers, interrupts, memory addresses, functions, ASCII stuff, instructions etc. We don't want to know that 1 + 1 is 2 or 2 + 2 is 4.
The idea of a tutorial is to stop frustration and let you learn. Is there an Assembly tutorial that actually teach you about programming? The Intel manuals I found on the web are so useless. The Art of Assembly just teaches you about 100 + 100 is 100000 in Assembly and a bunch of blah blah blah. Please don't say reading about fruit is going to help you. How did you guys actually learn? Don't say we all learn from these kinda things because if you actually read them, you would probably be sleeping.
What Assembly tutorial out there has something useful?
Is there something that has examples of code?
Like for example:
mov ah, 100
mov al, ah
mov bl, al
add bl, 250
That's just a example.
Imagine a perfect tutorial when it teaches you actually about things you will use. Since I don't need to know about 500 + 500 or know that a computer has DIMM as a location for RAM to print a string for my OS.
crunch wrote:
joegantic wrote:
I know some Assembly. However, what would be out there for learning more on how to do things? I mean like the interrupts are good but what about instructions, offsets and hardware? All they talk about is 1+2+3 is 123 and 4+5+6 is 456 in Assembly and not this and that. 1, 2 and 3 is 6.
How would I get knowledge for making a shell for my operating system?
I'm not planning on a Windows clone that has Java and Minecraft. That's just stupid.
There are tutorials on assembly out there I suppose - I never used them myself. It's useful to first have an understanding of computer architecture (what are registers? how is memory laid out? etc), and then just look over some assembly code or disassemble C programs. The intel manuals cover the architecture of the x86 platform
If you just want to make a shell, why not do it in your host (windows, linux, etc) OS first? A true userland shell will take quite some time to achieve.
How did you learn then? It would be fabulous to know what tutorial someone is actually learning from. A shell for my OS? I could make that with bat files. What kind of shell are you talking about?