Hello!

Where I can find a complete help for masm32?

There are a lot of thinks that I do not understand that changes from masm611.

For example:

@@: ; in offset 2E
jne @F ; 75 7C (offset 40) "go forward 7C bytes to the first @@-->to BE"
...
jmp @B ; E9 FFFFFF70 (offset B9) "go back 8F bytes to the first @@-->to 2E"
@@: ; in offset BE

After a lot of time, the comments are my conclusions... but I waste too many time. If I could query the help about this kind of jumps, my life would be ease! And so with many other things....
Posted on 2003-07-19 14:06:12 by miguelossa
Webster, Randall Hyde has the manuals online and available for download. There is also a small help file in the \MASM32\HELP folder called MASM32.HLP that might help.

http://webster.cs.ucr.edu/Page_TechDocs/0_techdocs.html
Posted on 2003-07-19 17:21:07 by donkey

... but I waste too many time.


To be experienced, *takes* time.


I certainly hope my doctor doesnt take this philosophy! :eek:

:NaN:
Posted on 2003-07-19 17:23:35 by NaN
Bring it on :grin: Jumps arn't hard to explain. Remember that jmps and jcc have 8bit, 16bit and 32bit displacement from from the end of the intruction.

Thus for example EB 00 is the same as not jmping at all.

@@: ; in offset 2E

jne @F ; 75 7C (offset 40) "go forward 7C bytes to the first @@-->to BE"
...
jmp @B ; E9 FFFFFF70 (offset B9) "go back 8F bytes to the first @@-->to 2E"
@@: ; in offset BE


What do you not understand? Due to the fact that the maximum range of a 8bit displacement jmp is 127 to -127, and 8F is definitely bigger than 127, thus the jmp used the 32bit verison.

Hope you do understand what I just uttered.
Posted on 2003-07-19 23:08:34 by roticv
Thanks to all, especially to donkey! The site is great!
:alright:
Posted on 2003-07-20 03:10:35 by miguelossa