News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

How run a Masm program on a 64-bit Windows 8? (newbie)

Started by Kenny_007, September 27, 2013, 05:47:57 AM

Previous topic - Next topic

nidud

deleted

jj2007

Yes, Irvine32.inc must be in the path. In case you can't find it, here is a workaround:
include \masm32\MasmBasic\MasmBasic.inc                  ; download
include \masm32\MasmBasic\IrvineMb\Irvine32Mb.inc        ; needed to build Irvine's (many but not all) 32-bit examples
.data
string_1 BYTE "abcde////",0

...
Works like a charm (except for trim_string, which does not trim anything ::)):
string_1 after trimming: abcde////
string_1 in upper case: ABCDE////
string_2 is less than string_1
Length of string_2 is 5


For the exact commandline, see reply #10. It's 32-bit code.

dedndave

yes - you need the Irvine libraries, if you want to follow the book

personally, i would put the book back on the shelf, and install the masm32 package - lol
there are plenty of examples, help files, and tutorials
and - the forum members are helpful if you have questions

one problem with Kip's books is that he doesn't follow the intel/ms ABI
(which registers to preserve, how to pass arguments and return results)

Kenny_007

II've not actually started delving into the book by Kip Irvine, but I really want a firm foundation for learning assembly. I know of the Art of Assembly but apparently that only teaches you high level assembly, so are there other good books where I can learn x86 assembly programming if the one i'm reading isn't too good?


GoneFishing

masm32 package is a good starting point ( see reply #17)  :t