Posted on 2005-06-24 10:15:43 by chiwing
Pentium 4 (maybe an 80786 if you insist on using 80x86 naming conventions)
http://en.wikipedia.org/wiki/Pentium
http://en.wikipedia.org/wiki/Pentium_4
http://newanik.sheridanc.on.ca/CTCH21X1/rogersan/
http://webster.cs.ucr.edu/AoA/Windows/HTML/CPUArchitecture.html
i personally used (no longer on the Wintel platform) notepad, although the "best" editor for win32asm is a personal preference and/or it depends on how you intend on using it.
http://en.wikipedia.org/wiki/Pentium
http://en.wikipedia.org/wiki/Pentium_4
http://newanik.sheridanc.on.ca/CTCH21X1/rogersan/
http://webster.cs.ucr.edu/AoA/Windows/HTML/CPUArchitecture.html
i personally used (no longer on the Wintel platform) notepad, although the "best" editor for win32asm is a personal preference and/or it depends on how you intend on using it.
I personally would go with radasm to make life a lot simpler.Radasm does a lot of work for you 8)
editplus and notepad++ are pretty okay too, but RadASM is a good choice.
I spend years in front of quickedit (comes and goes with masm32 package).
Somehow I dislike notepad, used it in my really early asm days, but pretty short
as its just not worth asm coding. Besides quickeditor inserts spaces when you press tab.
I like that.
Another one I used for some time is Paws. Probably not "main stream", but it works fine.
Right now I'm switching to WinAsmStudio...
Somehow I dislike notepad, used it in my really early asm days, but pretty short
as its just not worth asm coding. Besides quickeditor inserts spaces when you press tab.
I like that.
Another one I used for some time is Paws. Probably not "main stream", but it works fine.
Right now I'm switching to WinAsmStudio...
Besides quickeditor inserts spaces when you press tab.
I like that.
I hate that :) - tabs tend to work better. Personal thing, though. Decent editors support both modes.
kk fodder, you are right, it is personal :) ...
i hate if when I switch the font or use another editor and the whole source gets messed up because
of another tab length or what-so-ever...
btw, do you have something like your own personal "syntax"? in my case every byte is what i call
my personal syntax. You could search through my whole masm32\bin directory and you'll never find
mov eax,eax as I write mov eax, eax. I always put a space behind a commata, I always write low-case
except for the PROTO and LOCAL ... :TYPE stuff (and of course the strings).
And every zero has a "h" behind it. I somehow got used to that, although other numbers are mostly
given with "d" suffix. There is not a single number in all of my sources that does not have a suffix like h, d or b.
People might say I should write what the compiler is ok with, but this way I can always tell if some sh**** source
was my fault. Or someone else's ... :)
Dominik
i hate if when I switch the font or use another editor and the whole source gets messed up because
of another tab length or what-so-ever...
btw, do you have something like your own personal "syntax"? in my case every byte is what i call
my personal syntax. You could search through my whole masm32\bin directory and you'll never find
mov eax,eax as I write mov eax, eax. I always put a space behind a commata, I always write low-case
except for the PROTO and LOCAL ... :TYPE stuff (and of course the strings).
And every zero has a "h" behind it. I somehow got used to that, although other numbers are mostly
given with "d" suffix. There is not a single number in all of my sources that does not have a suffix like h, d or b.
People might say I should write what the compiler is ok with, but this way I can always tell if some sh**** source
was my fault. Or someone else's ... :)
Dominik
i hate if when I switch the font or use another editor and the whole source gets messed up because of another tab length or what-so-ever...
I always use monospaced fonts, so fonts aren't an issue for me - you might want to look at http://www.proggyfonts.com , by the way.
As for tab spacing, I use editors that let me specify the spacing I want; both editplus and notepad++ lets you set this per filetype. And I can always do "tabs to spaces" when I need to post code online :)
btw, do you have something like your own personal "syntax"?
Yep :)
4tab spaces, try to keep linelength to max 80 chars, etc. I tend to avoid the .IF/.ELSE style stuff, if I need that I'd rather write the code in a HLL, but that's my personal choice. I do use macros though.
Sample of coding style in masm:
.data?
hInstance DWORD (?)
.data
szString BYTE "here's some string data", 0
.code
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; myproc - does something
; takes some arguments
; returns some value
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
myproc PROC
LOCAL blah:DWORD
@@label:
mov eax, 10 ; line comments at more or less
mov ebx, eax ; fixed locations.
ret
myproc ENDP