The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: JoOry on January 04, 2008, 07:16:24 PM

Title: request
Post by: JoOry on January 04, 2008, 07:16:24 PM
hi all

I'm a student in computer science ,, and i have this project in System Programming about MASM ,, so i need information about it that i didn't find unfortunately ,, so can you please help with explanation of the memory and the format that uesd for the instruction and declaration,does it have a pass1 and pass2 like the SIC ans SIC/EX? , algorithm ,and a simple source code for it ,,

i hope u help me

Miss Joory
Title: Re: request
Post by: hutch-- on January 04, 2008, 08:40:54 PM
Read the rules on homework. members will help you with your code but will not do your homework for you.
Title: Re: request
Post by: JoOry on January 04, 2008, 10:02:40 PM
first of all thanks for your reply whatever the content is
then I just want to explain that my request is not to do my homework its to help me to understant the keys for doing it
or at least help me in finding a source of information about it
hopefully you can help me now  
Title: Re: request
Post by: jdoe on January 04, 2008, 10:11:15 PM

These are a good start...

Art of Assembly
http://webster.cs.ucr.edu/

Iczelion's tutorials
http://win32assembly.online.fr/tutorials.html

Download MASM32
http://masm32.com/

Title: Re: request
Post by: echomaigc on January 05, 2008, 08:23:25 AM
man i 'm a student here in china i'm also working on it
Hope us good luck!
Title: Re: request
Post by: dsouza123 on January 05, 2008, 01:43:43 PM
Study the following for instructions:

Agner Fog's                     Instruction tables            instruction_tables.pdf
Roman Novgorodov's              Intel x86 Instructions        x86eas.hlp
Many sources bundled in MASM32  Intel Opcodes And Mnemonics   opcodes.hlp


If you need to see the source and understand the internal workings of an x86 assembler
that is somewhat similar to MASM (with the appropriate include files non macroed MASM source can
be assembled with minor modifications) there is FASM found at flatassembler.net .
Title: Re: request
Post by: JoOry on January 05, 2008, 11:41:14 PM
Thank you all for ur reply ,,

can any one plzz help me to undarstand how the pass1 and pass2 work ?
Title: Re: request
Post by: dsouza123 on January 06, 2008, 03:23:50 PM
Google is your friend.

With the search terms  MASM passes  the very first link
is a MS explanation about the newer revisions of MASM (6.0+)
are N-PASS and the earlier 5.1 was a 2-PASS assembler.

http://support.microsoft.com/kb/80384


Another item is the BNF grammar for MASM 6.1
http://webster.cs.ucr.edu/Page_TechDocs/MASMDoc/ProgrammersGuide/Appendix_B.htm
Title: Re: request
Post by: Rainstorm on January 07, 2008, 01:27:16 PM
http://www.madwizard.org/programming/tutorials/
there's a pretty basic one at that site.

Rainstorm
-