Re: Emailing: Win32Asm, MASM, Windows Internals

  • From: "Littlefield, Tyler" <tyler@xxxxxxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Wed, 17 Aug 2011 22:09:41 -0600

Not sure where you stumbled on this, but it does look helpful, thanks. I appreciate it.

On 8/17/2011 10:04 PM, Dale Leavens wrote:
Is this the sort of thing you might find helpful Tyler?
Dale leavens.
please dont rip this site </techref/indexok.asp?spider=40772.8748263889>


    Home of the Win32Asm webring <win32asmring.htm>

   *


            Intel <../../intel/index.htm> x86 32bit Code
            <../../intel/32bit/index.htm> and Instruction Set@
            <../../intel/x86/inst/index.htm>

   *


            Win32API@ <../../os/win/win32prg.htm>

   *


            Win32AsmCGI@ <../../inet/win32asmcgi/index.htm>

    * Win32Asm Web@ <../../inet/win32asm/index.htm>
   *


            MASM <../masms.htm>

Also: MetaL@ <../meta-l/index.htm> a start on a wierd little cross-processor bnf translation *language*.


        Getting started? Follow these steps

   1. Go to Hutch's site http://www.movsd.com/ and get MASM32 (MASM
      <../masms.htm> specific) and the Iczelion
      <http://win32asm.cjb.net> tutorials for MASM32
      <http://www.movsd.com/icz.htm>

          This is the NEXT STEP in rapid assembler code development,
          Version 4 has its own code generator to create basic front
          ends in less than a minute, it has it own extendable library
          with full source code for efficient modular code design, it
          includes *windows*.INC version 1.12 that Iczelion has just
          upgraded and MASM32.HLP has a new section for pentium
          optimisation from an anonymous author on the net as well as
          the reference for the procedures contained in MASM32.LIB.

          This version has its own LIB.EXE, DUMPBIN.EXE and
          EDITBIN.EXE with source code so that the full capacity of
          LINK.EXE can be realised. Clive Turvey has given permission
          to include his latest version of DUMPPE.EXE with MASM32v4
          which is set up to disassemble your EXE file directly from
          the editor. All you need to do is unzip DUMPPE.ZIP in the
          BIN directory.

   2. Get the WinDbg debugger <debugs.htm>.

          Read the help file, play around, setup a workspace do all
the tutorials from MASM32.
   3. Read all the back issues of ASM Journal
      <http://asmjournal.freeservers.com/> and its message forum
      <http://beseen2.looksmart.com/boardroom/q/19784/> leaving the
      non-32 bit and *nux stuff behind.
   4. If you still have questions, go to http://win32asm.cjb.net (or
      http://203.157.250.93/win32asm/ or
      http://www.hutch.ukshells.co.uk/iczelion/) Iczelion's Win32
      *assembly* HomePage The Official HomePage of #win32asm:
      Tutorials, basics, VxD, direct draw, winsock, links to
      everywhere. Then post a message on The message forum for
      Win32Asm *programming*
      <http://pluto.beseen.com/boardroom/h/19390> or to the eGroups
      forum at http://www.egroups.com/group/win32asm/

    * http://www.intelligentfirm.com/asm32.htm and
      http://www.intelligentfirm.com/cpl32.html
    * Lord Lucifer (aka Bill) was at:
      http://www.fortunecity.com/skyscraper/corel/378/win32asm/ and is
      now at http://thunder.prohosting.com/~asm1/
      <http://thunder.prohosting.com/%7Easm1/> which can be reached by
      http://billwin32asm.massmind.org or http://asm.tsx.org
      <http://asm.tsx.org%20>
          o Calling COM from MASM <masmwin/com/com_1.txt> also in
            AsmJournal <http://asmjournal.freeservers.com> #4
            <http://asmjournal.freeservers.com/issues/apj_4.txt>
          o Implementing COM objects in MASM
            <masmwin/com/com_2.txt>(MASM <../masms.htm> specific)
          o objbase.inc <masmwin/com/objbase.inc>: prototypes for the
            COM library functions, as well as some interface declarations
          o shlobj.inc <masmwin/com/shlobj.inc>: prototypes for the
            various shell functions, as well as for the shell
            namespace com interfaces.
          o guidgen <masmwin/com/guidgen.zip>: output GUID's in
            *assembly* *language* format
    * Microsoft Win32 API online documentation
      
<http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/psdk/psdkref/alphafunc_3bjm.htm>
 or
      the Borland Win32 API reference
      <ftp://ftp.borland.com/pub/delphi/techpubs/delphi2/win32.zip> to
      download more detailed descriptions.
    * AWIN <masmwin/awin.zip> Nice replacement for Make: Will scan
      your assembler source file, use specially-coded comment lines to
      create .RC and .DEF files, and call the assembler, linker, and
      RC program to produce an executable program file from a single
      program-specific source file. (With A86 source)
    * WALK32 <masmwin/walk32.zip> This *programming* toolkit is
      designed for the experienced ASM programmer who not only wants
      to casually write some *assembly* code, but instead aims at
      building large projects in all *assembly* *language*.
    * Clive's *windows* Source
      http://www.tbcnet.com/~clive/vcomwinp.html
      <http://www.tbcnet.com/%7Eclive/vcomwinp.html> *windows* Source
      version 3 works with V Communications' Sourcer, version 6.51 and
      later, to produce commented disassemblies of *windows* 16 & 32
      bit executables, dynamic link libraries (DLLs), device drivers,
      and 32-bit virtual device drivers (VxDs).
    * http://www.iseran.com/Win32/FAQ/faq.htm
    * http://www.programmersheaven.com/zone5/index.htm Code, tools,
      librarys, etc...

Tricks:

    * in a batch file, you can do ;@<command> and MASM will ignore the
      line but the command line (don't say DOS) interpreter will
      excecute the command. One file can be the source code and make
      batch file. First line is ;@GOTO :MAKE if you want the make
      batch at the end.

*See also:*

    * http://www.thetutorialspot.com This is a great tutorial board I
      came across while looking for some help and they were very
      helpful.+
      
</techref/login/default.asp?req=/techref/update.asp%3Fact=reply%26url=/Techref/language/asm/win32asm.htm%26id=40090.0763078704>

    * asmsource.8k.com <http://asmsource.8k.com> Lots of *assembly*
      *language* examples here.+
      
</techref/login/default.asp?req=/techref/update.asp%3Fact=reply%26url=/Techref/language/asm/win32asm.htm%26id=38793.1661111111>

    * http://www.ronybc.8k.com Win32 codes in MASM by ronybc - SparcZ:
      Winsock example opens CDROM door via Telnet, Fireworks with MMX
      bluring effect.. etc +
      
</techref/login/default.asp?req=/techref/update.asp%3Fact=reply%26url=/Techref/language/asm/win32asm.htm%26id=37765.3248611111>

    * Randall Hyde's *assembly* Page
      <http://webster.cs.ucr.edu/Page_asm/Page_asm.html> - not
      win32asm specific but just so damn good it sould be linked
      everywhere! Includes:
          o The Art of *assembly* *language* *programming*
            <http://webster.cs.ucr.edu/Page_asm/ArtofAssembly/ArtofAsm.html>

          o *assembly* Lanugage Programmer's Style Guide
            <http://webster.cs.ucr.edu/Page_asm/moreasm/asmstyle.htm>
            - (MASM <../masms.htm> specific)
          o UCR Standard Library for 80x86 *assembly* *language*
            Programmers
            <http://webster.cs.ucr.edu/Page_asm/stdlib/stdlib.zip>
    * 
http://msdn.microsoft.com/library/devprods/vs6/visualc/vccore/_core_win32_topics.htm

    * http://www.godevtool.com/ Good beginning overviews, links, and
      tools.
    * Under the Hood
      
<http://msdn.microsoft.com/library/periodic/period98/html/procedureentryexit.htm>
      What the compilers actually generate
    * Greythorne http://home.sol.no/~reopsahl/files/assem.htm
      <http://home.sol.no/%7Ereopsahl/files/assem.htm> by Greythorne
      the Technomancer (very slow server) SoftICE'95 Handy *windows*
      Breakpoints (WIN32API.TXT
    * Whiz Kid: Win95 *assembly*
      <http://www.geocities.com/SiliconValley/Heights/7394/> by G.
      Adam Stanislav
      <mailto:TakeThisOuTwhizkid%20at%20spambigfoot.com> of Whiz Kid
      Technomagic <http://www.whizkidtech.net/>. MASM examples of
      CRC32, poligon analysis, timers, mouse, bitmaps, clipboard,
      Graphic Counter *language*, CGI, directly calling win external
      functions (vice invoke)
    * Chris Dragon http://zp.ite.pwr.wroc.pl/cdragan/ *assembly*
      Journal Mirror <http://zp.ite.pwr.wroc.pl/cdragan/journal.htm> ,
      3D, Fractal, Filesystem, uP ID/Benchmarks, XP Player, Descriptor
      Table Viewer, SDK and DirectX Includes.
    * Ron Thomas http://www.rbthomas.freeserve.co.uk/ Ron Thomas
      <mailto:TakeThisOuT100332.1160%20at%20spamCompuserve.com> GIF
      viewer, tons of little graphics demos
      <http://www.rbthomas.freeserve.co.uk/Downloads.html>, self
      publishes a book "Graphics *programming* using *assembly*" for
      $17.50 USD
    * Corn Soup http://cornsoup.cjb.net/
    * Mamon http://www.fortunecity.com/skyscraper/lycos/403/ excellent
      tools/links page
      <http://www.fortunecity.com/roswell/leehigh/0/tools.html> and a
      newer one? <http://www.eccentrica.org/Mammon/tools.html>
      http://www.eccentrica.org/Mammon/*assembly*.html
      <http://www.eccentrica.org/Mammon/assembly.html> PE file format
      <http://www.eccentrica.org/Mammon/pefile.html> tutorials, links,
      reverse engineering
    * http://members.xoom.com/DaGuzzet/index.htm
    * http://members.tripod.com/~ladsoft/winasm.htm
      <http://members.tripod.com/%7Eladsoft/winasm.htm> TASM specific
      mostly win16, one win32 on Profiles, MDI, scrolling and menus.
    * Dolphinz http://personal5.iddeo.es/ret007ow/ TASM font tricks,
      resouce meter, PE checksum
    * Henry Takeuchi http://www.eskimo.com/~htak/win95asm/win95asm.htm
      <http://www.eskimo.com/%7Ehtak/win95asm/win95asm.htm> TASM
      buttons, menus, dialogs,
    * rudeboy http://shell.puter.net/~rudeboy/
      <http://shell.puter.net/%7Erudeboy/> a few demos, tab controls,
      checksum
    * http://ghettographics.org/mpr/hacks/mgrep.c.txt JIT-compile
      ed-like regular expressions to i386 code.
    * Steve Gibson http://www.grc.com/smg*assembly*.htm
      <http://www.grc.com/smgassembly.htm> Author of SpinRite? Hello!
      Demo programs
    * 
http://willow.canberra.edu.au/~tp963323/mirrors/win32asm.cjb.net/winsock.html
      
<http://willow.canberra.edu.au/%7Etp963323/mirrors/win32asm.cjb.net/winsock.html>
      Win32Asm Winsock *programming*. http downloader sample.
    * http://www.opferman.com some tutorials in the Dox section, 3D
      asm in the Source Code section.
    * http://www.fastsoftware.com/Code.htm game *programming*
    * http://bizarrecreations.webjump.com/ DirectX OpenGL, how to
      write one program for dos/win32
      
<http://freehosting2.at.webjump.com/7948492e0/bi/bizarrecreations-webjump/files/tunnel32.zip>

    * http://i.am/MrCrimson (partial cache 20011211142246
      <../../../images/com/multimania/www/http/mrcrimson/index.html> )
      WinHelps for Win32 *programming*: OLE, TAPI, Setup API,  OpenGL,
      Multimedia, WinSock
    * http://deadlyzone.virtualave.net Excellent tools (most for
      cracking but usefull for debugging)
    * http://protools.cjb.net/ not legal to download tools from here!
    * http://www.phrozencrew.com/win32asm.htm email program?
    * http://pluto.spaceports.com/~titiasm/samsrc.html
      <http://pluto.spaceports.com/%7Etitiasm/samsrc.html> Code library.
    * http://www.titiasm.cjb.net/
    * http://www.forthinc.com/Content/Products/SwForth/SwForth.htm
      Win32 Forth!
    * http://ourworld.compuserve.com/homepages/ernies_world/ Excellent
      leading edge work on COM, Activex, scripting, and debugging.

Books

    * Graphics *programming* using *assembly*
      <http://www.rbthomas.freeserve.co.uk/Synopsis.html> by Ron
      Thomas for $17.50 USD
    * The Waite Group Win32 API set
          o *windows* 95 Win32 *programming* API Bible
            <http://www.amazon.com/exec/obidos/ASIN/1571690093/jamesnewtonpers>
            from the Waite Group
            /Manditory. You must have this book. Well worth the money./
          o *windows* 95 Common Controls & Messages Api Bible
            <http://www.amazon.com/exec/obidos/ASIN/1571690107/jamesnewtonpers>;
            Richard J. Simon
          o *windows* 95 Multimedia & Odbc Api Bible
            <http://www.amazon.com/exec/obidos/ASIN/1571690115/jamesnewtonpers>;
            Richard J. Simon(Editor), et al
          o The Waite Group's *windows* Api Bible : The Definitive
            Programmers Reference
            <http://www.amazon.com/exec/obidos/ASIN/1878739158/jamesnewtonpers>;
            James L. Conger
    * General Purpose Api Functions (Osborne *windows* *programming*)
      <http://www.amazon.com/exec/obidos/ASIN/0078819911/jamesnewtonpers>;
      Herbert Schildt, et al
    * *windows* *assembly* Lanugage & Systems *programming*
      <http://www.amazon.com/exec/obidos/ASIN/087930474X/jamesnewtonspers>
      by Barry Kauler ISBN:0-87930-474-X
    * Writing *windows* VxDs & Device Drivers; *programming* Secrets
      for Virtual Device Drivers
      <http://www.amazon.com/exec/obidos/ASIN/0879304383/jamesnewtonpers>;
      Karen Hazzah
    * Systems *programming* for *windows* 95 (Microsoft Progamming
      Series)
      <http://www.amazon.com/exec/obidos/ASIN/1556159498/jamesnewtonpers>;
      Walter Oney
    * *windows* Internals : The Implementation of the *windows*
      Operating Environment (The Andrew Schulman *programming* Series)
      <http://www.amazon.com/exec/obidos/ASIN/0201622173/jamesnewtonpers>;
      Matt Pietrek
    * The Undocumented PC : A Programmer's Guide to I/O, Cpus, and
      Fixed Memory Areas
      <http://www.amazon.com/exec/obidos/ASIN/0201479508/jamesnewtonpers>;
      Frank Van Gilluwe
    * Writing *windows* Virtual Device Drivers
      <http://www.amazon.com/exec/obidos/ASIN/020148921X/jamesnewtonpers>;
      David Thielen, Bryan Woodruff
    * *assembly* *language* : Step-By-Step (Coriolis Group Book)
      <http://www.amazon.com/exec/obidos/ASIN/0471578142/jamesnewtonpers>;
      Jeff Duntemann
   *

James Newton's <mailto:TakeThisOuTjamesnewton%20at%20spamgeocities.com> Win32Asm <http://techref.massmind.org/techref/language/asm/win32asmring.htm> WebRing <http://www.webring.org> site. [ Previous <http://www.webring.org/cgi-bin/webring?ring=win32asm;id=1;prev> | Next <http://www.webring.org/cgi-bin/webring?ring=win32asm;id=1;next> | List <http://www.webring.org/cgi-bin/webring?ring=win32asm;list> ]

Questions:

    * TakeThisOuTwadr at spamadinet.com.uy
      <mailto:TakeThisOuTwadr%20at%20spamadinet.com.uy> asks:

          Can someone help me width this code :

          void __inline * memcpy(void *dest, const void *src, size_t
          size) {
          bprintf("memcpy(0x%x,0x%x,0x%x);\n",dest,src,size);
          __asm__ (
          " push %%esi \n"
          " push %%edi \n"
          " push %%ecx \n"
          " mov %0, %%esi \n"
          " mov %1, %%edi \n"
          " mov %2, %%ecx \n"
          " push %%ecx \n"
          " shr $2, %%ecx \n"
          " rep movsl \n"
          " pop %%ecx \n"
          " and $3, %%ecx \n"
          " rep movsb \n"
          " pop %%ecx \n"
          " pop %%edi \n"
          " pop %%esi \n"
          : : "S" (src), "D" (dest), "c" (size)
          );
          return dest;
          }

          I never saw before a inline *assembly* wrote in that way. (
          width %, $, \n and between "" )
          and i specially can´t understand this
          : : "S" (src), "D" (dest), "c" (size)

          thanks a lot

      it is *assembly* using Visual C+++
      
</techref/login/default.asp?req=/techref/update.asp%3Fact=reply%26url=/Techref/language/asm/win32asm.htm%26id=37864.9267013889>


Comments:

   *


    * With the src coming before the dest and the $ preceding
      immediate values and the % in front of registers it looks like
      *assembly* code int AT&T asm *language* syntax+
      
</techref/login/default.asp?req=/techref/update.asp%3Fact=reply%26url=/Techref/language/asm/win32asm.htm%26id=39789.8924421296>

    * 12/21/02
      Ref: http://www.sxlist.com/techref/*language*/asm/win32asm.htm

      The link in paragraph 4 "Microsoft Win32 API online
      documentation..."
      
http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/psdk/psdkref/alphafunc_3bjm.htm
      is incorrect.

      The new WIN32 API URL is
      
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/*windows*_api_reference.asp

      Andy+
      
</techref/login/default.asp?req=/techref/update.asp%3Fact=reply%26url=/Techref/language/asm/win32asm.htm%26id=37611.7624189815>


John Ellard </techref/member/JE-hotmail-SA6/index.htm> Says:

    I have found this page to be very useful! This page is the reason
    I chose to become a PICList member.

    NOTE: Some of the links on this page and/or subsequent pages
    referenced from here are outdated, but don't let that discourage
    you from exploring the "good" links on this page!

+ </techref/login/default.asp?req=/techref/update.asp%3Fact=reply%26url=/Techref/language/asm/win32asm.htm%26id=37670.7194328704>

file: /Techref/language/asm/win32asm.htm, 19KB, , updated: 2010/12/21 07:25, local time: 2011/8/17 20:59, owner: size111-hotmail- </member/size111-hotmail-/index.htm>, ^TOP </techref/index.htm> NEW <new201108.txt> HELP <mailto:webmaster@xxxxxxxxxxx?subject=I%20need%20someone%20to%20help%20me%20with%3A%20assembly%20language%20programming%20windows> FIND: </techref/postsearch.asp> ^173.255.22.22:LOG IN </techref/login/default.asp?req=403%3Bhttp%3A%2F%2Fwww%2Epiclist%2Ecom%3A80%2Ftechref%2Flanguage%2Fasm%2Fwin32asm%2Ehtm> *©2011 PLEASE DON'T RIP! </dontripthissite.htm>* *DO: LINK* / DIGG! <http://digg.com/submit?phase=2&url=http%3A%2F%2Fwww%2Epiclist%2Ecom%2Ftechref%2Flanguage%2Fasm%2Fwin32asm%2Ehtm&title=Win32Asm%2C+MASM%2C+Windows+Internals> / MAKE! <http://makezine.com/cs/user/create/link?x-t=suggestlink.form&url=http%3A%2F%2Fwww%2Epiclist%2Ecom%2Ftechref%2Flanguage%2Fasm%2Fwin32asm%2Ehtm&description=Win32Asm%2C+MASM%2C+Windows+Internals&title=www%2Epiclist%2Ecom>

©2011 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE . Questions? </dontripthissite.htm> Please /DO/ link to this page! Digg it! <http://digg.com/submit?phase=2&url=http://www.piclist.com/techref%2Flanguage%2Fasm%2Fwin32asm%2Ehtm&title=Win32Asm%2C+MASM%2C+Windows+Internals> / MAKE! <http://makezine.com/cs/user/create/link?x-t=suggestlink.form&url=http%3A%2F%2Fwww%2Epiclist%2Ecom%2Ftechref%2Flanguage%2Fasm%2Fwin32asm%2Ehtm&description=Win32Asm%2C+MASM%2C+Windows+Internals&title=www%2Epiclist%2Ecom> / /

<A HREF="http://www.piclist.com/techref/language/asm/win32asm.htm";> Win32Asm, MASM, Windows Internals</A>

After you find an appropriate page, you are invited to your question comment link preformated text to this /massmind/ </idea/websites.htm> site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML </techref/language/html/index.htm> welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available </techref/idea/website/codetutorial.htm> Members </techref/private.asp?req=membership> can login </techref/login/default.asp?req=403%3Bhttp%3A%2F%2Fwww%2Epiclist%2Ecom%3A80%2Ftechref%2Flanguage%2Fasm%2Fwin32asm%2Ehtm%23form> to post directly, become page editors, and be credited for their posts.


Link? Put it here:
if you want a response, please enter your email address:
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster. Did you find what you needed? From: "/http://www.google.ca/search <http://www.google.ca/search?q=assembly+language+programming+windows&hl=en&prmd=ivns&ei=O41MTu6_COb40gGA9KX_Bg&start=20&sa=N&biw=1056&bih=575>/" "/*assembly language programming windows*/"

   *


    * /"No. I'm looking for: "/
    * /"No. Take me to the search page."/ </techref/postsearch.asp>
    * /"No. Take me to the top so I can drill down by catagory"/
      </techref/index.htm>
    * /"No. I'm willing to pay for help, please refer me to a
      qualified consultant"/
      
<mailto:webmaster@xxxxxxxxxxx?subject=I%20need%20someone%20to%20help%20me%20with%3A%20assembly%20language%20programming%20windows>

    * /"No. But I'm interested. me at when this page is expanded."/

        *PICList 2011 contributors <http://www.piclist.com/support>:*
o List host: MIT <http://www.piclist.com/techref/piclist/support.htm#LIST>, Site host massmind.org <http://techref.massmind.org/techref/piclist/support.htm#SITE>, Top posters @20110817 RussellMc, Olin Lathrop, Michael Watterson, V G, Oli Glaser, IVP, Bob Blick, alan.b.pearce, Herbert Graf, Isaac Marino Bavaresco, * Page Editors: James Newton, David Cary, and /YOU/ </techref/idea/website/pageedit.htm>! * Roman Black of Black Robotics <http://www.blackrobotics.com> donates from sales of Linistep stepper controller kits <http://www.piclist.com/techref/io/stepper/linistep/index.htm>. * Ashley Roll of Digital Nemesis <http://www.digitalnemesis.com> donates from sales of RCL-1 RS232 to TTL converters <http://www.piclist.com/techref/io/serial/RCL1.htm>. * Monthly Subscribe </techref/piclist/support.htm#subscribe>rs: None at this time. /on-going support is MOST appreciated!/ * Contributors </techref/piclist/support.htm#contribute>: Richard Seriani, Sr.

'What can I do?' - SiCKO <http://www.michaelmoore.com/sicko/what-can-i-do/>

  .



--

Take care,
Ty
my website:
http://tds-solutions.net
my blog:
http://tds-solutions.net/blog
skype: st8amnd127
My programs don't have bugs; they're randomly added features!

Other related posts: