News:

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

Absolute new to assembler.

Started by stk, February 05, 2007, 07:36:41 PM

Previous topic - Next topic

stk

Hello everyone, :bg

i have written many lines in this posting(my first), but after i have clicked on preview
all was gone. :'(

So here is the abbreviated version:

I am VERY interrested in assembly programming, because it is the machine's language.
But i don't know how to start.
I do not understand why there are so many different versons of assemblers, so i have
downloaded the following versions:

MASM32-package: does not work, error message: "a connected device does not work"

NASM: when i am at home, i'll try a solution wich i have read in a forum

GoASM: Not installed so far

Thank you!

greetings,
stk



hutch--

I can't help you with NASM or GoAsm but the masm32 installation usually works fine unless there is something wrong with your OS installation. Tell us a bit more about what OS version and whether you have DEP enabled and we may be able to help you.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Vortex

stk,

Welcome on board.

Here is where you can download the Masm32 package :

http://www.masm32.com/masmdl.htm

stk

Hello,

i have 2 computers one with Windows XP Home SB version and one with Windows 98 SE,
i have installed the masm32-package on the Win 98 system.
After the installing, i have clicked on masm32.exe (i think) and then i have got the error-message
(see first posting).

greetings,
stk

hutch--



> MASM32-package: does not work, error message: "a connected device does not work"

The MASM32 Project does not connect to any device apart from the normal hard disk, memory and processor. I would check that your OS is installed properly and is not virus or trojan damaged, the project has been successfully installed on hundreds of thousands of computers and is very reliable but it has no way of debugging damaged OS installations.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

stk

Hello,

thank you but i have a question:

i have installed the version for Win 2000 or later on my Win 98 system and not the
Win9x os version,is this maybe the problem?

stk

TNick

Hello, stk, and welcome aboard!

There is no masm32.exe in the package, but here is an way to go, that should work well:

- create a new folder somewhere (c:\MyProg\MyFirst)
- within this folder, create a new file and rename it MAKEIT.BAT
- still within this folder, create a new file and rename it MyFirst.asm
- add to MyFirst.asm

.586
.MODEL FLAT, STDCALL
OPTION CASEMAP:NONE
INCLUDE windows.inc
INCLUDE kernel32.inc
INCLUDE user32.inc

INCLUDELIB kernel32.lib
INCLUDELIB user32.lib

.CONST
AppName    BYTE   "My first app using masm32",0
Message     BYTE    "Damn, it works!!!",0

.CODE
App_Entry_Point:
INVOKE MessageBox, NULL,ADDR Message,ADDR AppName,MB_OK
INVOKE ExitProcess,NULL
END App_Entry_Poiny


- add to MAKEIT.BAT
c:\masm32\bin\ml /c /COFF /Cp /I"C:\masm32\include" MyFirst.asm
c:\masm32\bin\link /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 /LIBPATH:"C:\masm32\lib"


If your installation is ok, it will work. Also, change c:\ to whatever drive your masm is on..

Regards,
Nick

hutch--

stk,

Yes, use the right version for the OS you have.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

stk

Hello,

thank you i'll try this at home.

So, masm32 has no own IDE?

Should i use the windows editor or RadASM, or is RadASM not recommendable for newbies?

Is there existing a "best" assembler? Wich is the most used?

greetings (i am so glad that i have found this forum) :dance:,
stk

TNick

EasyCode or RadASM are great, IMO, for beginers

Regards,
Nick

Vortex

Quote from: stk on February 06, 2007, 05:25:58 PMIs there existing a "best" assembler? Wich is the most used?

The most popular assemblers are Masm, Tasm, Fasm, Goasm, Poasm, Nasm and HLA. Every assember has it's own specific features. Instead of looking for the best one, you can select the right tool for the right job.

stk

When you read the following, please remember i am an absolute newby.

Do you mean with "right job" only software, or is it possible to program your
own digital wristwatch with these versions (wich would you take for this project)
for example?

Thank you.

stk

Vortex

I would suggest you to use Masm32. It has a lot of examples, tools and it has a huge number of users. Hutch maintains the package regularly. For some special tasks, you would need an assembler supporting binary file output but Masm32 can meet nearly all your requirements. With Masm, you can code a digital clock, it's matter of experience and knowledge of dealing with GUIs.

stk

Hi Vortex,

do we mean the same?

I mean a real digital wristwatch, not a clock for the screen.

stk

TNick

I'm shore Vortex wasn't meaning "a real digital wristwatch"... mostly because a wristwatch doesn't use 32 bit flat memory model. Note that you are not allowed to use ml for any target platform other than Windows! :) So, no wristwatch except if it's running Windows :) :) :)