News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Getting started

Started by roddym, February 28, 2010, 06:48:46 PM

Previous topic - Next topic

roddym

Microsoft (R) Windows (R) Resource Compiler, Version 5.00.1823.1 - Build 1823
Copyright (C) Microsoft Corp. 1985-1998. All rights reserved.

Using codepage 1252 as default
Creating rsrc.RES
RC: RCPP -CP 1252 -f C:\masm32\RCa02072 -g C:\masm32\RDa02072 -DRC_INVOKED -D_WI
N32 -pc\:/ -E -I. -I .


RC : fatal error RC1110 : could not open rsrc.rc


Microsoft (R) Windows Resource To Object Converter Version 5.00.1736.1
Copyright (C) Microsoft Corp. 1992-1997. All rights reserved.

CVTRES : fatal error CVT1101: cannot open rsrc.res for reading
Press any key to continue . . .
even with this if I/o doesn't work doesn't matter also

jj2007

If nothing else helps, try your luck with the RichMasm IDE. It is set up to run most if not all Masm32 examples by simply pressing F6.

roddym

if I/O is down like it acts like it won't matter it won't work anyone know how to fix the I/O register of and intel chip ?

jj2007

Your OS would not even say blurp! if I/O was down on the chip...

dedndave

Roddy
you must understand that we have been through this countless times with other n00bs   :bg
95% of the time, it is a setup issue
the other 5%, it is the code
so, if you have it set up as we suggested
and you are assembling a program we know assembles
it will probably work

roddym

well obviously you haven't had the situation and data I've shown you as you don't know how to use it... I did the file as said by you the .res can't be done as it can't be accessed the build part works but the file says it's not win32  also when I get errors it says can't access the files I get a write error in a math program that I use ( which can write to disk) I'm an admin so unless windows 7 doesn't let you alter files with code I'm stumped unless it's the new version of avast I have. or an i/o partial failure.

hutch--

roddym,

If you are not willing to tell us the minimum to answer your questions perhaps you should be trying to use something else that is simple enough for you to understand. If you computer is not configured correctly, fix it and then try and install the software. members here go out of their way to help new programmers but they are not here to have their time wasted.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

roddym

Quote from: roddym on February 28, 2010, 06:48:46 PM
I'm on a compaq presario SR2050NX(added ram) ( best I've done with any assembler is no codes like mov or include statement or anything like that(aka blank slate lol))
Quote from: roddym on February 28, 2010, 06:53:31 PM
I'm on windows 7
Quote
.386
.model small
.data
.code
start:
end start

Quote from: roddym on February 28, 2010, 10:19:28 PM
nope nothing works for me , even in a math program that can write to file I can't open a a file for writing(i/o disabled by virus ?(or my own idiocy?)) so that stops that
Quote
dedndave the error I get is it can't open the .asm file but unless I've affected the i/o structure of my pc( or a virus) that shouldn't affect a math program totally unrelated to masm as for code I've posted all the code I've tried.
Quote from: roddym on February 28, 2010, 11:45:24 PM
.386
.model small,STDCALL
.data
.code
start:
mov eax,32h
end start

I'm not trying to waste time it's masm32 v 4.0 . I let it install itself so if it's not installed right I don't understand it. 
OS = win 7
I've got the code you gave me assembling using almost any combo now my problem is it comes up with <filename> is not a valid win32 application and that if I select compile resource file it come to an error I posted earlier about how it can't gain access to it. this fits all her necessaries if she can't help me now I start lowering iq's!

qWord

it must be
.model flat,STDCALL
also a ret befor end start is missing
FPU in a trice: SmplMath
It's that simple!

roddym

Quote from: qWord on March 02, 2010, 01:43:47 AM
it must be
.model flat,STDCALL
also a ret befor end start is missing


the ret I don't know how to write and I've tried the flat change still came up with ... is not a valid win32 application.

qWord

.686p
.model flat,STDCALL
option casemap :none
.code
start:
xor eax,eax
ret
end start

compile & link:

C:\masm32\bin\ML.EXE /c /coff /I"C:\masm32\include" YourFile.asm
C:\masm32\bin\LINK.EXE /SUBSYSTEM:CONSOLE /LIBPATH:"C:\masm32\lib" YourFile.obj
FPU in a trice: SmplMath
It's that simple!

roddym

THANK YOU without the last 2 lines I saw in the post it doesn't give me an error now can you help me through hello world( seen many variants online)

qWord

Quote from: roddym on March 02, 2010, 01:39:05 AMit's masm32 v 4.0
you should install version 10 - that's make live easier.
.686p
.model flat,STDCALL
option casemap :none
include kernel32.inc
includelib kernel32.lib
.data
szText db "Hello World",0
szCaption db "Hello",0
.code
start:
invoke MessageBox,0,OFFSET szText,OFFSET szCaption,0
xor eax,eax
ret
end start
FPU in a trice: SmplMath
It's that simple!

roddym

I can't find masm in my uninstall list how do i get the old version off

qWord

simply delete(or rename) the masm32-folder
FPU in a trice: SmplMath
It's that simple!