Originally posted by Daemon
well truth be told i just started to learn it so am trying to find the right programs i would need to compile it and run it when i done the code i reading a book on it and it says i be running some code soon but not to sure how to edit the code on what program i no i sound like a noob but i am lol but just wanting to learn as much as i can your help is great and thank you for getting back to me about this any info on this sunject would be great when you seem like you no abit about it so thanks again sorry about my spelling lol
i think if i am right looking to learn assembly language
If you're just starting programming, put the book down, and walk away slowly.
You really should NOT start with Assembly, it'll be way to hard, especially if you can't even figure out what you need to download. And even if you could figure out what to download, you're still biting off way too much. Trust me on this one, Assembly is hard.
I'd suggest you look into a significantly easier (and significantly more useful, Assembly is rarely used in programming these days) programming language. I'd encourage you to start with C, Java, or Python. Python has a good, clean, easy to understand syntax, and its easy to immediately begin writing useful scripts and programs. Java is popular in the workplace, many people prefer it as a first language, but its syntax is slightly more complex than Python. C is a nice language to start off with, its all procedural, which makes it easy to understand, it gives you a lot of power, and is good for preparing for Assembly programming later on.
Here are links to some appropriate tutorials for Python, C, and Java:
Python:
You must login or register to view this content. - A good tutorial, its fairly involved and the difficulty increases quite quickly, but the material it teaches is very good, not the best for beginners, but a good tutorial nonetheless
You must login or register to view this content. - Excellent for new programmers (people completely new to programming), its easy to understand
You must login or register to view this content. - Also good for beginners, more fast paced, but that's because it misses things that the other two books cover
Java:
You must login or register to view this content. - Probably the best, online Java tutorial, it is slightly more fast paced, but most people can keep up with it
You must login or register to view this content. - Not necessarily a tutorial, but a list of tutorials, it'll be really helpful to choose tutorials from other sources
C:
You must login or register to view this content. - Its a pretty good book/tutorial, its fairly fast paced, but it'll do just fine
You must login or register to view this content. - A great tutorial for beginners, it'll get your feet wet; doesn't cover a lot of material, but puts things quite simply
Now, if you insist on programming in Assembly, what you need is an Assembler. There are many different types of architectures and many different assemblers as well, so in order to find you the correct assembler, we'll need to know more information.
Shellcode itself isn't very descriptive, and doesn't tell us anything about what you need.
EDIT:
If you don't believe me, let me prove it to you.
Here is Python code:
print("Hello, world!")
Here is Java:
class HelloWorld
{
public static void Main(String args[])
{
System.out.println("Hello, world!");
}
}
Here is C:
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello, world");
return 0;
}
And lastly, here's Assembly:
title Hello World Program (hello.asm)
; This program displays "Hello, World!"
dosseg
.model small
.stack 100h
.data
hello_message db 'Hello, World!',0dh,0ah,'$'
.code
main proc
mov ax,@data
mov ds,ax
mov ah,9
mov dx,offset hello_message
int 21h
mov ax,4C00h
int 21h
main endp
end main