Hi,
I am new to programming for the most part except matlab, html, javascript, actionscript, etc.
I am trying to learn how to assemble/dissassemble files.
I have several assemply/dis. programs: nasmw/ndisasmw, flat assembler, pedasm, etc...
I can't figure out how to assemble the hello world program. here is an example of what I have:
message db 'hello world','$'
mov dx, offset message
call DisplayString
DisplayString:
mov ax,cs
mov ds,ax
mov ah,9 ; DOS FUNCTION: display message
int 21h ; Call the DOS interrupt
ret
this one almost works but it says error: expected comma on 2. (flat assembler)
Any help on where I should look for good resources or maybe a correction to this code would be helpful.
Basically, I want to learn how to disassemble a program(*.exe) file and then reassemble it. Maybe I need to learn some assembly language first though.
Thanks
D.
Here are some of my machine details if they are necessary:
intel T5500
plenty of ram and hard drive
win Xp pro