News:

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

MASM : fatal error A1000: cannot open file : .asm

Started by lixasafa, September 22, 2005, 11:45:45 PM

Previous topic - Next topic

lixasafa

im totally new n want to learn
but masm compiler frustated me by givin this output evrytime im clickin make32.bat
or run source code from textpad

at beginning, yes i get de right output, but after tryin it, the output is

-----------------------------------------------------------------------------------------------------------------------------
C:\Masm615>REM  make32.bat -  Batch file for assembling/linking 32-bit Assembly programs

C:\Masm615>REM  Revised: 11/15/01
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .asm
MASM : fatal error A1000: cannot open file : .asm
Press any key to continue . . .

-----------------------------------------------------------------------------------------------------------------------------

even there is *.asm no file in this folder C:\Masm615
it give this o/p :snooty:

hutch--

lixa,

MASM 6.15 (ML.EXE) is a very good version but you will need to show us what you are trying to build as it sounds like it may not match what you want to do. Post at least some of the code and someone may be able to help you.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

lixasafa

i was tryin with many code, and all fail  :boohoo:

i was thinkin either my method is wrong but this is i learned from ibm book (n for the first time it worked)

i want to reconfirm the way im compilin

open c:/masm615
run masm32.bat <-----straightly get error msg above
state filename

or
using textpad
click tool > run >
command = C:\make32.bat
parameters =
initial folder = C:\

let say this is the code
even i was tryin so many code since last night

.386
.model flat, stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
includelib kernel32.lib
include \masm32\include\user32.inc
includelib user32.lib

.data
MsgCaption      db "Iczelion's tutorial no.2",0
MsgBoxText      db "Win32 Assembly is Great!",0

.code
start:
   invoke MessageBox, NULL,addr MsgBoxText, addr MsgCaption, MB_OK
   invoke ExitProcess,NULL
end start

ok hutch, help me ok  :dance: