C# programmer wants to learn assembly?? plz help



Hi ,

i have good programmming background and i'm primarily a C# programmer.
I wanna learn assembly during the holidays now , lol . .and i dont have
much of an Idea of how to go about it.

I found a few links to tutorials , but i dont know which ones the best
, basically i dont plan to go hardcore i just want be able to make
simple programs in assembler , and i've done C with win32 API , i've
seen assembler code that looks kinda like the C code i used to write.
With the WndProc and everything.So i want to start with a simple
console progams and then be able to make a simple windows program.Any
suggestions for good simple tute???

Also. . . what do i compile asm with. I tried using ml.exe from Ms
VS.NET\VC\ dir. And when i compile this program from here.
->http://www.xs4all.nl/~smit/asm01001.htm#names

i get :
/OUT:tst.exe
tst.obj
tst.obj : fatal error LNK1190: invalid fixup found, type 0x0001
Assembling: E:\tst.asm

this is the code:
..model small
..stack
..data
message db "Hello world, I'm learning Assembly !!!", "$"
..code
main proc
mov ax,seg message
mov ds,ax

mov ah,09
lea dx,message
int 21h

mov ax,4c00h
int 21h
main endp
end main

Could someone please help me

Gideon

.



Relevant Pages

  • Re: C# programmer wants to learn assembly?? plz help
    ... I found a few links to tutorials, but i dont know which ones the best ... seen assembler code that looks kinda like the C code i used to write. ... mov ax,seg message ... you want an example of a "real Windows program". ...
    (alt.lang.asm)
  • Re: C# programmer wants to learn assembly?? plz help
    ... i have good programmming background and i'm primarily a C# programmer. ... I found a few links to tutorials, but i dont know which ones the best ... simple programs in assembler, and i've done C with win32 API, i've ... mov ax,seg message ...
    (alt.lang.asm)
  • Re: HLA Stdlib v2.2 is now available.
    ... Its a generalization of the whole asm community based on the results of a single man. ... You dont get it. ... Because it is an assembler, and a very good one, showing the way for other spesific assemblers. ... As they both are needed for doing programming, I see no reason to seperate them. ...
    (alt.lang.asm)
  • Re: which book to start with...?
    ... Want to learn the DOS API. ... i dont really mind about the system but right now im stuck with Ubuntu. ... programming per se, but they are often the objective for many people to ... 32 bit assembler is even ...
    (alt.lang.asm)
  • Keep It Simple Stupid
    ... You only need a tiny resident assembler ... it dont need a linker, ... in a GP2X and a NDS Lite. ... If i find they barred the door on GP2X, ...
    (comp.sys.arm)