Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

1: No code table for op: ++post


programming / comp.lang.asm.x86 / beginner assembler for windows?

SubjectAuthor
* beginner assembler for windows?paul
+- Re: beginner assembler for windows?Sjouke Burry
+* Re: beginner assembler for windows?Frank Kotler
|`* Re: beginner assembler for windows?paul
| +* Re: beginner assembler for windows?paul
| |+- Re: beginner assembler for windows?paul
| |`* Re: beginner assembler for windows?George Neuner
| | +* Re: beginner assembler for windows?paul
| | |`* Re: beginner assembler for windows?Tavis Ormandy
| | | +- Re: beginner assembler for windows?Kerr-Mudd,John
| | | `* Re: beginner assembler for windows?paul
| | |  `* Re: beginner assembler for windows?Kerr-Mudd,John
| | |   `* Re: beginner assembler for windows?paul
| | |    +* Re: beginner assembler for windows?Tavis Ormandy
| | |    |`* Re: beginner assembler for windows?paul
| | |    | +* Re: beginner assembler for windows?Tavis Ormandy
| | |    | |`* Re: beginner assembler for windows?paul
| | |    | | +- Re: beginner assembler for windows?Tavis Ormandy
| | |    | | +* Re: beginner assembler for windows?Rod Pemberton
| | |    | | |`* Re: beginner assembler for windows?paul
| | |    | | | +- Re: beginner assembler for windows?Steve
| | |    | | | +- Re: beginner assembler for windows?Kerr-Mudd,John
| | |    | | | +- Re: beginner assembler for windows?Rod Pemberton
| | |    | | | `* Re: beginner assembler for windows?George Neuner
| | |    | | |  +* Re: beginner assembler for windows?Anton Ertl
| | |    | | |  |`* Re: beginner assembler for windows?paul
| | |    | | |  | +* Re: beginner assembler for windows?Anton Ertl
| | |    | | |  | |`* Re: beginner assembler for windows?paul
| | |    | | |  | | `- Re: beginner assembler for windows?James Van Buskirk
| | |    | | |  | `* Re: beginner assembler for windows?wolfgang kern
| | |    | | |  |  `* Re: beginner assembler for windows?paul
| | |    | | |  |   `- Re: beginner assembler for windows?wolfgang kern
| | |    | | |  `- Re: beginner assembler for windows?paul
| | |    | | `* Re: beginner assembler for windows?wolfgang kern
| | |    | |  +- Re: beginner assembler for windows?Kerr-Mudd,John
| | |    | |  `- Re: beginner assembler for windows?George Neuner
| | |    | +* Re: beginner assembler for windows?R.Wieser
| | |    | |`- Re: beginner assembler for windows?George Neuner
| | |    | `* Re: beginner assembler for windows?Herbert Kleebauer
| | |    |  `* Re: beginner assembler for windows?paul
| | |    |   +* Re: beginner assembler for windows?Kerr-Mudd,John
| | |    |   |`* Re: beginner assembler for windows?wolfgang kern
| | |    |   | `- Re: beginner assembler for windows?Bernhard Schornak
| | |    |   +- Re: beginner assembler for windows?Herbert Kleebauer
| | |    |   +- Re: beginner assembler for windows?Pavel_vitsoft_Šrubař
| | |    |   `- Re: beginner assembler for windows?Rod Pemberton
| | |    +- Re: beginner assembler for windows?Frank Kotler
| | |    `* Re: beginner assembler for windows?Frank Kotler
| | |     `- Re: beginner assembler for windows?Kerr-Mudd,John
| | `- Re: beginner assembler for windows?Rickey Bowers
| `- Re: beginner assembler for windows?Frank Kotler
+* Re: beginner assembler for windows?wolfgang kern
|`* Re: beginner assembler for windows?paul
| `* Re: beginner assembler for windows?wolfgang kern
|  `- Re: beginner assembler for windows?aen
+- Re: beginner assembler for windows?Bonita Montero
`- Re: beginner assembler for windows?Rickey Bowers

Pages:123
Subject: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Sat, 16 Jan 2021 19:03 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: beginner assembler for windows?
Date: Sat, 16 Jan 2021 20:03:06 +0100
Organization: Aioe.org NNTP Server
Lines: 2
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <rtvd99$1au3$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="4655c8606d363941dc742942242fddee";
logging-data="1834"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zrsqT8t7bVtqWPhLlkp6uKE6Ax2xlGd8="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:nHEtWfH6f038gObzPgbTOS8xPls=
View all headers
advise for a good beginner windoze assembler?



Subject: Re: beginner assembler for windows?
From: Sjouke Burry
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Sun, 17 Jan 2021 04:39 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: burrynul...@nospicedham.ppllaanneett.nnll (Sjouke Burry)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Sun, 17 Jan 2021 05:39:33 +0100
Organization: A noiseless patient Spider
Lines: 5
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <6003bf86$0$11013$e4fe514c@textnews.kpn.nl>
References: <rtvd99$1au3$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="a5592477e5bd2f89fdf16d4c3b81bc05";
logging-data="15160"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sbpWlkiBUoepGwQ8c6m6q97wh0Dcxywk="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
Cancel-Lock: sha1:AuhR3i3BMkAeXusKSa7941p+GDo=
View all headers
On 16.01.21 20:03, paul wrote:
advise for a good beginner windoze assembler?

Go to a carpenter?



Subject: Re: beginner assembler for windows?
From: Frank Kotler
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Sun, 17 Jan 2021 06:14 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: fbkot...@nospicedham.myfairpoint.net (Frank Kotler)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Sun, 17 Jan 2021 01:14:30 -0500
Organization: Aioe.org NNTP Server
Lines: 10
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru0kuh$pq5$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="a5592477e5bd2f89fdf16d4c3b81bc05";
logging-data="854"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bSb64eIWCAj/X3/Bm4t0LxFVuanl1wxA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.5.2
Cancel-Lock: sha1:XIBKgKFXgA4Vi7/SsYKF6JXzWvs=
View all headers
On 01/16/2021 02:03 PM, paul wrote:
advise for a good beginner windoze assembler?

Masm, Nasm, Fasm... all are good. I prefer Nasm.

Best,
Frank





Subject: Re: beginner assembler for windows?
From: wolfgang kern
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Sun, 17 Jan 2021 07:12 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nowh...@nospicedham.never.at (wolfgang kern)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Sun, 17 Jan 2021 08:12:26 +0100
Organization: Aioe.org NNTP Server
Lines: 14
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru0o75$1mfd$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="a5592477e5bd2f89fdf16d4c3b81bc05";
logging-data="17144"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lIqwISkZN3BBZANtZm1ltRkwsIEWnc10="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:85.0) Gecko/20100101
Thunderbird/85.0
Cancel-Lock: sha1:8IYVICTRhaYggJMaaXSyLol9O5Q=
View all headers
On 16.01.2021 20:03, paul wrote:
advise for a good beginner windoze assembler?

windoze is an HLL OS, you may need a lot of hints to find its functions.
assembler for windoze is fine if you already know a bit of both.

so I'd advise:
1. look into the (AMD/Intel) CPU manuals for the instruction set.
2. if you're now not confused enough to quit then start reading M$-stuff
3. still interested ? :)  OK then:
4. ask away all your questions (sure to occur) here or in ASM forum.
__
wolfgang



Subject: Re: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Sun, 17 Jan 2021 22:31 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Sun, 17 Jan 2021 23:31:18 +0100
Organization: Aioe.org NNTP Server
Lines: 9
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru2drk$1iud$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0o75$1mfd$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="a5592477e5bd2f89fdf16d4c3b81bc05";
logging-data="23169"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18NuwThPrH0EysijYHgqTstFBemsKMEWlo="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:fCch7wbMYF5dy9SHKTGPnF/mj+A=
View all headers
wolfgang kern wrote:

ask away all your questions (sure to occur) here or in ASM forum.



Which is the ASM forum you speak of if not this one?
I have Peter Norton's ASM hand book but it doesn't come with the assembler.



Subject: Re: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Sun, 17 Jan 2021 22:38 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Sun, 17 Jan 2021 23:38:10 +0100
Organization: Aioe.org NNTP Server
Lines: 28
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru2e8g$1pp0$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="a5592477e5bd2f89fdf16d4c3b81bc05";
logging-data="23203"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182CT99DIZbOhqqAUmQUmisIibVh/wIwVs="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:SreExg3hmwiEAR7C+CI34pj+OrE=
View all headers
Frank Kotler wrote:

Masm, Nasm, Fasm... all are good. I prefer Nasm.


Name is easy.
Binary installer is harder.
Choosing a beginner assembler even harder still.

In order of suggested above
Masm
Requires visual c
https://www.microsoft.com/en-us/download/details.aspx?id=12654

Maybe not
MASM https://sourceforge.net/projects/masm611/

Nasm
https://nasm.us/
https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/

Fasm
Maybe here? https://sourceforge.net/projects/fasm/
Or here?
https://flatassembler.net/download.php

Which is the right downloads for Windows 10 (64-bit)?



Subject: Re: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Mon, 18 Jan 2021 03:35 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Mon, 18 Jan 2021 04:35:02 +0100
Organization: Aioe.org NNTP Server
Lines: 49
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru2vl3$1ckq$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="cf197b7cb409bb7b66997bd8747cb287";
logging-data="24605"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yPsR+m7WDttmO26SnQ+/fqIx9sziVxXM="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:wbLMw1gJUPrrUPI7z4Dz8dbT16w=
View all headers
paul wrote:

In order of suggested above
Masm
Requires visual c
https://www.microsoft.com/en-us/download/details.aspx?id=12654

My advice after trying to install MASM for an hour?
Never recommend MASM to a beginner.

Reason?
The MASM installer is easily found at Microsoft.
https://www.microsoft.com/en-us/download/details.aspx?id=12654
But it fails to install because it's hungry for Microsoft tools.
  Microsoft Macro Assembler (MASM)
  Microsoft Visual C++ Express Edition 2005 required.

Don't even think of installing the latest Visual C++ as I did.
https://visualstudio.microsoft.com/downloads/
Because it wants an older version.

And don't think just any old older version will work.
https://visualstudio.microsoft.com/vs/older-downloads/

It wants that specific older version.
Which doesn't exist in any Microsoft site that I could find.

Oh sure, you can find plenty of service pack patches for that older version
  https://www.microsoft.com/en-eg/download/details.aspx?id=804
   VS80sp1-KB926749-X86-INTL.exe 24.3 MB
   VS80sp1-KB926747-X86-INTL.exe 32.3 MB
   VS80sp1-KB926748-X86-INTL.exe 43.5 MB
   VS80sp1-KB926750-X86-ENU.exe 19.0 MB
   VS80sp1-KB926751-X86-INTL.exe 29.9 MB

But none of them work without the actual older version.
    Windows Installer:
     The upgrade patch cannot be installed by the Windows Installer
     service because the program to be upgraded may be missing,
     or the upgrade patch may update a different version of the program.
     Verify that the program to be upgraded exists on your computer
     and that you have the correct upgrade patch.

It's a conspiracy, I swear.
If you happen to know where Microsoft hides the "real" 2005 Visual C++,
this noob would love to know where they hid it.

Otherwise, MASM is out of the game in the opening move.



Subject: Re: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Mon, 18 Jan 2021 04:50 UTC
References: 1 2 3 4
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Mon, 18 Jan 2021 05:50:38 +0100
Organization: Aioe.org NNTP Server
Lines: 77
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru342u$p8t$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="cf197b7cb409bb7b66997bd8747cb287";
logging-data="11979"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XATGhYsgZ/eY3N7lmtvLTpF+SdTsYfe4="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:MVP0E2YT0jdSQQJ/BdVdSbC+rVM=
View all headers
paul wrote:

Otherwise, MASM is out of the game in the opening move.

Reluctantly I gave up on Microsoft MASM in favor of http://www.masm32.com/
which I'll call for lack of the right words, the "masm sdk".

I found out about the "masm sdk" from this tutorial PDF
https://doc.lagout.org/operating%20system%20/Windows/winasmtut.pdf

When I installed that "masm sdk", it created c:\masm32 which
I promptly moved to my working directory c:\mypath\masm32

Then I followed the hello world instructions in that tutorial PDF
creating this "hello.asm" text file, only with mypath substituted
..386
..model flat, stdcall
option casemap :none 

include \mypath\masm32\include\windows.inc
include \mypath\masm32\include\kernel32.inc
include \mypath\masm32\include\masm32.inc 

includelib \mypath\masm32\lib\kernel32.lib
includelib \mypath\masm32\lib\masm32.lib 

..data
  HelloWorld db "Hello World!", 0 

..code
start:
  invoke StdOut, addr HelloWorld 
  invoke ExitProcess, 0 
end start

As per the instructions in the PDF, an object module was created
C:\mypath\masm32\bin\ml.exe /c /Zd /coff hello.asm

And an executable was then created & executed successfully
C:\mypath\masm32\bin\Link /SUBSYSTEM:CONSOLE hello.obj

hello.exe
 Hello World!

The second tutorial example also worked in this first pass test
edit hellow.asm

..386
..model flat, stdcall
option casemap :none 

include \mypath\masm32\include\windows.inc
include \mypath\masm32\include\kernel32.inc
include \mypath\masm32\include\user32.inc 

includelib \mypath\masm32\lib\kernel32.lib
includelib \mypath\masm32\lib\user32.lib 

..data 
 HelloWorld db "Hello World!", 0 
..code
start: 
 invoke MessageBox, NULL, addr HelloWorld, addr HelloWorld, MB_OK 
 invoke ExitProcess, 0 
end start

C:\mypath\masm32\bin\ml.exe /c /Zd /coff hellow.asm
C:\mypath\masm32\bin\Link /SUBSYSTEM:WINDOWS hellow.obj
hellow.exe

This popped up a "Hello World" window with an OK button.

Given the official Microsoft MASM installation failed because it needs
ancient visual c++ software that I couldn't find on the Microsoft site, can
one of you just let me know if this substitute MASM SDK is what you'd
suggest for a beginner like me.



Subject: Re: beginner assembler for windows?
From: Frank Kotler
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Mon, 18 Jan 2021 06:04 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: fbkot...@nospicedham.myfairpoint.net (Frank Kotler)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Mon, 18 Jan 2021 01:04:42 -0500
Organization: Aioe.org NNTP Server
Lines: 36
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru38o9$8gr$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org>
<ru2e8g$1pp0$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="cf197b7cb409bb7b66997bd8747cb287";
logging-data="32431"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2VIPosZWHlBsYK0DKyk3UK7qrXpGVooU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.5.2
Cancel-Lock: sha1:/mV5uwyzCFmNxWmOrLDkzEe/4Hw=
View all headers
On 01/17/2021 05:38 PM, paul wrote:
....
Name is easy.
Binary installer is harder.
Choosing a beginner assembler even harder still.

In order of suggested above
Masm
Requires visual c
https://www.microsoft.com/en-us/download/details.aspx?id=12654

Maybe not
MASM https://sourceforge.net/projects/masm611/

Okay if all you want is Windoze...

Nasm
https://nasm.us/
https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/

Good for 'doze, Linux, BSD, Macos. eic.

Fasm
Maybe here? https://sourceforge.net/projects/fasm/
Or here?
https://flatassembler.net/download.php

Probably this one...

Which is the right downloads for Windows 10 (64-bit)?

Any should do...

Best,
Frank



Subject: Re: beginner assembler for windows?
From: George Neuner
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Mon, 18 Jan 2021 14:21 UTC
References: 1 2 3 4
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: gneun...@nospicedham.comcast.net (George Neuner)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Mon, 18 Jan 2021 09:21:31 -0500
Organization: A noiseless patient Spider
Lines: 75
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="cf197b7cb409bb7b66997bd8747cb287";
logging-data="16227"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YhJf5CuI0Mc9cHk6mzPXId5M6M0IsFmM="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:zesews9lwtATV/J69b6ZnVDDOlM=
View all headers
On Mon, 18 Jan 2021 04:35:02 +0100, paul
<nospam@nospicedham.nospam.invalid> wrote:

paul wrote:

In order of suggested above
Masm
Requires visual c
https://www.microsoft.com/en-us/download/details.aspx?id=12654

Actually it only requires a linker.  Do you think Microsoft would
recommend any but their own?


My advice after trying to install MASM for an hour?
Never recommend MASM to a beginner.

Reason?
The MASM installer is easily found at Microsoft.
https://www.microsoft.com/en-us/download/details.aspx?id=12654
But it fails to install because it's hungry for Microsoft tools.
 Microsoft Macro Assembler (MASM)
 Microsoft Visual C++ Express Edition 2005 required.

MASM v8 is ancient.


Don't even think of installing the latest Visual C++ as I did.
https://visualstudio.microsoft.com/downloads/
Because it wants an older version.

And don't think just any old older version will work.
https://visualstudio.microsoft.com/vs/older-downloads/

It wants that specific older version.
Which doesn't exist in any Microsoft site that I could find.

Oh sure, you can find plenty of service pack patches for that older version
https://www.microsoft.com/en-eg/download/details.aspx?id=804
  VS80sp1-KB926749-X86-INTL.exe 24.3 MB
  VS80sp1-KB926747-X86-INTL.exe 32.3 MB
  VS80sp1-KB926748-X86-INTL.exe 43.5 MB
  VS80sp1-KB926750-X86-ENU.exe 19.0 MB
  VS80sp1-KB926751-X86-INTL.exe 29.9 MB

But none of them work without the actual older version.
   Windows Installer:
    The upgrade patch cannot be installed by the Windows Installer
    service because the program to be upgraded may be missing,
    or the upgrade patch may update a different version of the program.
    Verify that the program to be upgraded exists on your computer
    and that you have the correct upgrade patch.

It's a conspiracy, I swear.
If you happen to know where Microsoft hides the "real" 2005 Visual C++,
this noob would love to know where they hid it.

Otherwise, MASM is out of the game in the opening move.


You absolutely CAN install the current Visual Studio (vs2019) and use
MASM with it.  See
https://docs.microsoft.com/en-us/cpp/assembler/masm/microsoft-macro-assembler-reference


MASM has been included with "Express" versions of Visual Studio at
least since 2012 (don't know about earlier).  The assemblers are
installed by default with the C or C++ developer packages, or they can
be installed manually.

The executables are "ml.exe" (32-bit) and "ml64.exe" (64-bit). 


George



Subject: Re: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Tue, 19 Jan 2021 01:58 UTC
References: 1 2 3 4 5
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 02:58:36 +0100
Organization: Aioe.org NNTP Server
Lines: 421
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru5eca$394$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org> <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="5e871b807991e88901fc751391a93e98";
logging-data="13985"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RGgdMchdX4ecOk367pcWlsapGkdxOivI="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:lsw+5RG9B9s2snbYqZ5gWerBBYQ=
View all headers
George Neuner wrote:

Actually it only requires a linker.  Do you think Microsoft would
recommend any but their own?

If I can't find the MS URLs, it's cruel to suggest MASM for a beginner.

I am confused by that statement because the 311KB Microsoft MASMsetup.EXE
https://www.microsoft.com/en-us/download/details.aspx?id=12654
won't install without 62MB Visual C++ 2005 Express Edition installed.

The 311KB MASMsetup.exe errors out and does not install anything.
How did you get around that requirement?

Worse, Visual C++ 2005 Express Edition doesn't exist anywhere on the Microsoft web site (that I can find) and the MASMsetup.EXE won't take the newer Visual C++ installation.
https://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express

Are you sure of what you said which is it only needs a linker?
How do you install MASMsetup.exe when it's looking for a specific C++?

MASM v8 is ancient.

I only installed MASM because it was the first assembler on the
suggested list when I had originally asked for experienced advice.

If I can't find the MS URLs, it's cruel to suggest MASM for a beginner.

You absolutely CAN install the current Visual Studio (vs2019) and use
MASM with it.  See
https://docs.microsoft.com/en-us/cpp/assembler/masm/microsoft-macro-assembler-reference
MASM has been included with "Express" versions of Visual Studio at
least since 2012 (don't know about earlier).  The assemblers are
installed by default with the C or C++ developer packages, or they can
be installed manually.
The executables are "ml.exe" (32-bit) and "ml64.exe" (64-bit). 

Nobody told me that when I asked.
If I can't find the MS URLs, it's cruel to suggest MASM for a beginner.

I would love to know the link that works because every link I had tried failed.
Looking up your suggestion, it appears "Visual Studio Express" is now apparently
renamed "Visual Studio Community" https://visualstudio.microsoft.com/vs/express/

The 2019 1.4KB Visual Studio Community web stub (vs_Community.exe) is
https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16

It downloads a much larger installer into
C:\ProgramData\Microsoft\VisualStudio\Packages
which then puts the Visual Studio IDE into
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
And it puts shared components in
C:\Program Files (x86)\Microsoft Visual Studio\Shared

It allows the user to choose either
Visual Studio Community 2019
Visual Studio Enterprise 2019
Visual Studio Professional 2019

The list of individual components is humongous in its entirety
..NET
..NET 5.0 Runtime
..NET Core 2.1 Runtime (LTS)
..NET Core 2.2 Runtime (out of support)
..NET Core 3.0 Runtime (out of support)
..NET Core 3.1 Runtime (LTS)
..NET Framework 3.5 development tools
..NET Framework 4 targeting pack
..NET Framework 4.5 targeting pack
..NET Framework 4.5.1 targeting pack
..NET Framework 4.5.2 targeting pack
..NET Framework 4.6 targeting pack
..NET Framework 4.6.1 SDK
..NET Framework 4.6.1 targeting pack
..NET Framework 4.6.2 SDK
..NET Framework 4.6.2 targeting pack
..NET Framework 4.7 SDK
..NET Framework 4.7 targeting pack
..NET Framework 4.7.1 SDK
..NET Framework 4.7.1 targeting pack
..NET Framework 4.7.2 SDK
..NET Framework 4.7.2 targeting pack
..NET Framework 4.8 SDK
..NET Framework 4.8 targeting pack
..NET Native
..NET Portable Library targeting pack
..NET SDK
Advanced ASP.NET features
Development Tools plus .NET Core 2.1
ML.NET Model Builder (Preview)
Web Development Tools plus .NET Core 2.1

Cloud, database, and server
Azure Authoring Tools
Azure Cloud Services build tools
Azure Cloud Services core tools
Azure Compute Emulator
Azure Data Lake and Stream Analytics Tools
Azure development prerequisites
Azure libraries for .NET
Azure Powershell
Azure Resource Manager core tools
Azure Storage AzCopy
Azure Storage Emulator
Azure WebJobs Tools
Cloud Explorer
CLR data types for SQL Server
Connectivity and publishing tools
Container development tools
Data sources and service references
Data sources for SQL Server support
IIS Express
Service Fabric Tools
SQL ADAL runtime
SQL Server Command Line Utilities
SQL Server Data Tools
SQL Server Express 2016 LocalDB
SQL Server ODBC Driver
Visual Studio Tools for Kubernetes
Web Deploy

Code tools
Azure DevOps Office Integration
Class Designer
ClickOnce Publishing
Dependency Validation
Developer Analytics tools
DGML editor
Git for Windows
GitHub extension for Visual Studio
Help Viewer
LINQ to SQL tools
NuGet package manager
NuGet targets and build tasks
PreEmptive Protection - Dotfuscator
Text Template Transformation

Compilers, build tools, and runtimes
..NET Compiler Platform SDK
C# and Visual Basic Roslyn compilers
C++ 2019 Redistributable MSMs
C++ 2019 Redistributable Update
C++ Clang Compiler for Windows (10.0.0)
C++ Clang-cl for v142 build tools (x64/x86)
C++ CMake tools for Windows
C++ Modules for v142 build tools (x64/x86 �V experimental)
C++ Universal Windows Platform support for v142 build tools (ARM64)
C++ Windows XP Support for VS 2017 (v141) tools [Deprecated]
C++/CLI support for v141 build tools (14.16)
C++/CLI support for v142 build tools (14.20)
C++/CLI support for v142 build tools (14.21)
C++/CLI support for v142 build tools (14.22)
C++/CLI support for v142 build tools (14.23)
C++/CLI support for v142 build tools (14.24)
C++/CLI support for v142 build tools (14.25)
C++/CLI support for v142 build tools (14.26)
C++/CLI support for v142 build tools (14.27)
C++/CLI support for v142 build tools (14.28)
IncrediBuild - Build Acceleration
MSBuild
MSVC v140 - VS 2015 C++ build tools (v14.00)
MSVC v141 - VS 2017 C++ ARM build tools (v14.16)
MSVC v141 - VS 2017 C++ ARM Spectre-mitigated libs (v14.16)
MSVC v141 - VS 2017 C++ ARM64 build tools (v14.16)
MSVC v141 - VS 2017 C++ ARM64 Spectre-mitigated libs (v14.16)
MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16)
MSVC v141 - VS 2017 C++ x64/x86 Spectre-mitigated libs (v14.16)
MSVC v142 - VS 2019 C++ ARM build tools (v14.20)
MSVC v142 - VS 2019 C++ ARM build tools (v14.21)
MSVC v142 - VS 2019 C++ ARM build tools (v14.22)
MSVC v142 - VS 2019 C++ ARM build tools (v14.23)
MSVC v142 - VS 2019 C++ ARM build tools (v14.24)
MSVC v142 - VS 2019 C++ ARM build tools (v14.25)
MSVC v142 - VS 2019 C++ ARM build tools (v14.26)
MSVC v142 - VS 2019 C++ ARM build tools (v14.27)
MSVC v142 - VS 2019 C++ ARM build tools (v14.28)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.20)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.21)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.22)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.23)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.24)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.25)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.26)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.27)
MSVC v142 - VS 2019 C++ ARM Spectre-mitigated libs (v14.28)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.20)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.21)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.22)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.23)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.24)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.25)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.26)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.27)
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.28)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.20)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.21)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.22)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.23)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.24)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.25)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.26)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.27)
MSVC v142 - VS 2019 C++ ARM64 Spectre-mitigated libs (v14.28)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.20)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.21)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.22)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.23)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.24)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.25)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.26)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.27)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.28)
MSVC v142 - VS 2019 C++ x64/x86 Spectre-mitigated libs (v14.20)
MSVC v142 - VS 2019 C++ x64/x86 Spectre-mitigated libs (v14.21)
MSVC v142 - VS 2019 C++ x64/x86 Spectre-mitigated libs (v14.22)
MSVC v142 - VS 2019 C++ x64/x86 Spectre-mitigated libs (v14.23)
MSVC v142 - VS 2019 C++ x64/x86 Spectre-mitigated libs (v14.24)

Click here to read the complete article
Subject: Re: beginner assembler for windows?
From: Rickey Bowers
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Tue, 19 Jan 2021 00:48 UTC
References: 1 2 3 4 5
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bitr...@nospicedham.gmail.com (Rickey Bowers)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Mon, 18 Jan 2021 16:48:40 -0800 (PST)
Organization: A noiseless patient Spider
Lines: 7
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <f3ec0133-da7d-404b-9cc1-914863ab5215n@googlegroups.com>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org>
<ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org> <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Tue, 19 Jan 2021 00:48:41 +0000
Injection-Info: reader02.eternal-september.org; posting-host="5e871b807991e88901fc751391a93e98";
logging-data="7702"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+idNOvfT/nkq82Kedu65J6ka/oLOWmOjs="
User-Agent: G2/1.0
Cancel-Lock: sha1:iuJGFieEx5kpFJfCcEdcsS1rP14=
View all headers
Another modern way to get MASM is through the build tools download:
https://aka.ms/buildtools

Especially if one has an existing development environment or preferred editor.

Kind regards, bitRAKE



Subject: Re: beginner assembler for windows?
From: Tavis Ormandy
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Tue, 19 Jan 2021 04:14 UTC
References: 1 2 3 4 5 6
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tav...@gmail.com (Tavis Ormandy)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: 19 Jan 2021 04:14:44 GMT
Organization: A noiseless patient Spider
Lines: 33
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <i6n4lkFmj4tU1@mid.individual.net>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org>
<ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org>
<584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="5e871b807991e88901fc751391a93e98";
logging-data="8608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198P88/YwVW5WFXFWQ+KhslUUAfVbR7lsE="
User-Agent: slrn/pre1.0.4-5 (Linux)
Cancel-Lock: sha1:ILzanWdll3KoOyMuGCemRpwzLwc=
View all headers
On 2021-01-19, paul <nospam@nospicedham.nospam.invalid> wrote:
George Neuner wrote:

Actually it only requires a linker.  Do you think Microsoft would
recommend any but their own?

If I can't find the MS URLs, it's cruel to suggest MASM for a beginner.


I think people were trying to steer you towards nasm, which has the easy
to find binaries you've been dreaming of.

Visual Studio is a huge, complicated commercial product. It's also
really popular with Windows Developers, so there's a good chance you
already knew how to navigate the installer and the components.

That's it.
If MASM is in that list, I don't see where.

If you're deadset on masm, it's the "MSVC xxx build tools" component,
but most developers choose "Workloads", and you'll get it with the C++
one.

Just use nasm, it's great. The skills you learn will transfer to any
other assmbler easily.

Tavis.

--
 _o)            $ lynx lock.cmpxchg8b.com
 /\\  _o)  _o)  $ finger taviso@sdf.org
_\_V _( ) _( )  @taviso



Subject: Re: beginner assembler for windows?
From: wolfgang kern
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Tue, 19 Jan 2021 06:10 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nowh...@nospicedham.never.at (wolfgang kern)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 07:10:12 +0100
Organization: Aioe.org NNTP Server
Lines: 14
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru5tag$emc$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0o75$1mfd$1@gioia.aioe.org>
<ru2drk$1iud$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="5e871b807991e88901fc751391a93e98";
logging-data="22605"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EuN9DyPnoiUoxY7Jne7EASKDGUbbs6r4="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:85.0) Gecko/20100101
Thunderbird/85.0
Cancel-Lock: sha1:01a3z+whPlekF1mItR5QJV6YzmY=
View all headers
On 17.01.2021 23:31, paul wrote:
wolfgang kern wrote:

ask away all your questions (sure to occur) here or in ASM forum.



Which is the ASM forum you speak of if not this one?
I have Peter Norton's ASM hand book but it doesn't come with the assembler.

NASM, FASM and I think even MASM have their own forum, google mayu help.
__
wolfgang



Subject: Re: beginner assembler for windows?
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Tue, 19 Jan 2021 09:44 UTC
References: 1 2 3 4 5 6 7
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: notsay...@nospicedham.127.0.0.1 (Kerr-Mudd,John)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 09:44:25 -0000 (UTC)
Organization: dis
Lines: 46
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsACB7631608173admin127001@144.76.35.252>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org> <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org> <i6n4lkFmj4tU1@mid.individual.net>
Injection-Info: reader02.eternal-september.org; posting-host="5e871b807991e88901fc751391a93e98";
logging-data="8062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pYzoVJzmzyeOuUBeMMAzj/5jfZt6y5fY="
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:3O+cX1RBOTH6hZpMiyVxQe3Gbcs=
View all headers
On Tue, 19 Jan 2021 04:14:44 GMT, Tavis Ormandy <taviso@gmail.com> wrote:

On 2021-01-19, paul <nospam@nospicedham.nospam.invalid> wrote:
George Neuner wrote:

Actually it only requires a linker.  Do you think Microsoft would
recommend any but their own?

If I can't find the MS URLs, it's cruel to suggest MASM for a
beginner.


I think people were trying to steer you towards nasm, which has the
easy
to find binaries you've been dreaming of.

Visual Studio is a huge, complicated commercial product. It's also
really popular with Windows Developers, so there's a good chance you
already knew how to navigate the installer and the components.

That's it.
If MASM is in that list, I don't see where.

If you're deadset on masm, it's the "MSVC xxx build tools" component,
but most developers choose "Workloads", and you'll get it with the C++
one.

Just use nasm, it's great. The skills you learn will transfer to any
other assmbler easily.


Just be aware that Nasm code isn't directly assemblable (word?) under
Masm;

notably masm's 'dup' isn't supported and segment overides must be
internal, i.e.
[Nasm]   mov [es:bx], dl
[Masm]   mov es:[bx], dl

there's a few other diffrences, especially if you get into macro
programming.
Heck; download nasm and read the nasm.doc!

--
Bah, and indeed, Humbug.



Subject: Re: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Tue, 19 Jan 2021 13:47 UTC
References: 1 2 3 4 5 6 7
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 14:47:17 +0100
Organization: Aioe.org NNTP Server
Lines: 102
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru6nt5$esj$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org> <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org> <i6n4lkFmj4tU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="5e871b807991e88901fc751391a93e98";
logging-data="29012"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sj7o4zbygcDix/kZHiC2/IFm9RLEAKn4="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:zvXnc2tA3mplMcPweI/eV0u6zC8=
View all headers
Tavis Ormandy wrote:

I think people were trying to steer you towards nasm, which has the easy
to find binaries you've been dreaming of.

I tried Nasm right after the first MASM attempt failed, as I went through
each of the suggestions faithfully, in the order they were presented to me.

I didn't mention that failed effort because I haven't found a good tutorial
that works the first time (which all good tutorials should).

Strangely, there is no "hello world" in Jeff Duntemann "Assembly Language
Step-by-Step" paperback where his philosophy is different from mine.

Mine is that we learn empirically where we get things working before we
break them, and his is to break them before we get anything working.

As you advised, I found that Nasm installed far better than did Masm
https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/

In my paperback Jeff Duntemann assembly language book, the first code is
an "eat.asm" example as the first program deep into the book at page 228

; Source name : EAT.ASM
; Executable name : EAT.COM
; Code model: : Real mode flat model
; Version : 1.0
; Created date : 6/4/1999
; Last update : 9/10/1999
; Author : Jeff Duntemann
; Description : A simple example of a DOS .COM file programmed using
;               NASM-IDE 1.1 and NASM 0.98.
[BITS 16] ; Set 16 bit code generation
[ORG 0100H] ; Set code start address to 100h (COM file)
[SECTION .text] ; Section containing code
START:
 mov dx, eatmsg ; Mem data ref without [] loads the ADDRESS!
 mov ah,9 ; Function 9 displays text to standard output.
 int 21H ; INT 21H makes the call into DOS.

 mov ax, 04C00H ; This DOS function exits the program
 int 21H ; and returns control to DOS.

[SECTION .data] ; Section containing initialized data

eatmsg db "Eat at Joe's!", 13, 10, "$" ; Here's our message

I then ran:
nasm -f BIN EAT.ASM -o EAT.COM

This created "eat.com" which, when executed, errored with
 Unsupported 16-Bit-Application
 The program or feature "??\C;\mypath\nasm\eat.com" cannot start or run due
 to incompatibility with 64-bit versions of Windows.
 Please contact the software vendor to ask if a 64-bit Windows compatible
 version is available.

Changing this line in "eat.asm" didn't change the error message
; [BITS 16] ; Set 16 bit code generation
; [BITS 32] ; Set 32 bit code generation
[BITS 64] ; Set 64 bit code generation
Nor did commenting it out entirely.

I probably have to figure out how to specify a 64-bit address
or 64-bit registers, as something is wrong above.

I didn't bring this up because this problem is due to me being too much of
a noob to know why I even need to set the number of bits, nor why no matter
what setting I use, I get the same error.

What I really need is a decent Nasm tutorial which starts with a working
"hello world" example. Then I can worry about the intricacies of assembly
language coding on a 64-bit Windows 10 box.

Visual Studio is a huge, complicated commercial product. It's also
really popular with Windows Developers, so there's a good chance you
already knew how to navigate the installer and the components.

Personally, I like simple but I do not disagree MS is popular with Windows
developers. I'm not a Windows developer. I'm just a person.

If MASM is in that list, I don't see where.

If you're deadset on masm, it's the "MSVC xxx build tools" component,
but most developers choose "Workloads", and you'll get it with the C++
one.

I'm not dead set on anything. I just want to follow a decent tutorial on
assembly language programming for Windows that works from the start.

Just use nasm, it's great. The skills you learn will transfer to any
other assmbler easily.

I'm OK with Nasm. As I said I was simply faithfully following advice given.

My Nasm problem isn't in the installer but in the tutorial since not only
didn't the Duntemann book have an "hello world", it seems to use gcc, where
if I had wanted to use a compiler, I would have started with a higher level
language to learn.

Any decent Nasm tutorial you know of?



Subject: Re: beginner assembler for windows?
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Tue, 19 Jan 2021 16:22 UTC
References: 1 2 3 4 5 6 7 8
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: notsay...@nospicedham.127.0.0.1 (Kerr-Mudd,John)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 16:22:12 -0000 (UTC)
Organization: dis
Lines: 106
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsACB7A6869E7C6admin127001@144.76.35.252>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org> <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org> <i6n4lkFmj4tU1@mid.individual.net> <ru6nt5$esj$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="ee132f630393d47c2704b03476c2159f";
logging-data="25586"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0a2XsNr60UBCTaf4sbxY9rajkUlseEtc="
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:HwhDtXlq+EnzSGM24mtPRck0S4Q=
View all headers
On Tue, 19 Jan 2021 13:47:17 GMT, paul
<nospam@nospicedham.nospam.invalid> wrote:

Tavis Ormandy wrote:

I think people were trying to steer you towards nasm, which has the
easy to find binaries you've been dreaming of.

I tried Nasm right after the first MASM attempt failed, as I went
through each of the suggestions faithfully, in the order they were
presented to me.

I didn't mention that failed effort because I haven't found a good
tutorial that works the first time (which all good tutorials should).

Strangely, there is no "hello world" in Jeff Duntemann "Assembly
Language Step-by-Step" paperback where his philosophy is different
from mine.

Mine is that we learn empirically where we get things working before
we break them, and his is to break them before we get anything
working.

As you advised, I found that Nasm installed far better than did Masm
https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/

In my paperback Jeff Duntemann assembly language book, the first code
is an "eat.asm" example as the first program deep into the book at
page 228

; Source name : EAT.ASM
; Executable name : EAT.COM
; Code model: : Real mode flat model
; Version : 1.0
; Created date : 6/4/1999
; Last update : 9/10/1999
; Author : Jeff Duntemann
; Description : A simple example of a DOS .COM file programmed using
;               NASM-IDE 1.1 and NASM 0.98.
[BITS 16] ; Set 16 bit code generation
[ORG 0100H] ; Set code start address to 100h (COM file)
[SECTION .text] ; Section containing code
START:
 mov dx, eatmsg ; Mem data ref without [] loads the ADDRESS!
 mov ah,9 ; Function 9 displays text to standard output.
 int 21H ; INT 21H makes the call into DOS.

 mov ax, 04C00H ; This DOS function exits the program
 int 21H ; and returns control to DOS.

[SECTION .data] ; Section containing initialized data

eatmsg db "Eat at Joe's!", 13, 10, "$" ; Here's our message

I then ran:
nasm -f BIN EAT.ASM -o EAT.COM

This created "eat.com" which, when executed, errored with
 Unsupported 16-Bit-Application
 The program or feature "??\C;\mypath\nasm\eat.com" cannot start or
 run due to incompatibility with 64-bit versions of Windows.
 Please contact the software vendor to ask if a 64-bit Windows
 compatible version is available.

Changing this line in "eat.asm" didn't change the error message
; [BITS 16] ; Set 16 bit code generation
; [BITS 32] ; Set 32 bit code generation
[BITS 64] ; Set 64 bit code generation
Nor did commenting it out entirely.

I probably have to figure out how to specify a 64-bit address
or 64-bit registers, as something is wrong above.

I didn't bring this up because this problem is due to me being too
much of a noob to know why I even need to set the number of bits, nor
why no matter what setting I use, I get the same error.

No, it's because the created "application" will only work under DOS or an
emulated environment -nothing to do with the BITS setting; W10 doesn't
have a DOS compatible subsystem out of the box. (32bit Win XP is fine!)

What I really need is a decent Nasm tutorial which starts with a
working "hello world" example. Then I can worry about the intricacies
of assembly language coding on a 64-bit Windows 10 box.

you'll need DOSEMU or DOSBOX or somesuch.

[]

I'm OK with Nasm. As I said I was simply faithfully following advice
given.

My Nasm problem isn't in the installer but in the tutorial since not
only didn't the Duntemann book have an "hello world", it seems to use
gcc, where if I had wanted to use a compiler, I would have started
with a higher level language to learn.

Any decent Nasm tutorial you know of?





--
Bah, and indeed, Humbug.



Subject: Re: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Tue, 19 Jan 2021 17:37 UTC
References: 1 2 3 4 5 6 7 8 9
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 18:37:54 +0100
Organization: Aioe.org NNTP Server
Lines: 22
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru75dg$1efo$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org> <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org> <i6n4lkFmj4tU1@mid.individual.net> <ru6nt5$esj$1@gioia.aioe.org> <XnsACB7A6869E7C6admin127001@144.76.35.252>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="ee132f630393d47c2704b03476c2159f";
logging-data="16681"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zE+3yoS1+TL/sW4VMtvMt1RNpLGGR6Vg="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:ovXrN1jDstii+NKo5bXF6BQkk1k=
View all headers
Kerr-Mudd,John wrote:

No, it's because the created "application" will only work under DOS or an
emulated environment -nothing to do with the BITS setting; W10 doesn't
have a DOS compatible subsystem out of the box. (32bit Win XP is fine!)

Thanks for that advice as I want to start with something working like a
"hello world", and then proceed from there with at least the first program
working. That's how tutorials are supposed to work anyways.

I guess that probably means I need to change the original question to ask
for an assembler that works with a modern operating system like Win10 x64.

What I really need is a decent Nasm tutorial which starts with a
working "hello world" example. Then I can worry about the intricacies
of assembly language coding on a 64-bit Windows 10 box.

you'll need DOSEMU or DOSBOX or somesuch.

Does that mean there are no free assemblers (along with beginner tutorials)
that work native on a modern Win10 x64?



Subject: Re: beginner assembler for windows?
From: Tavis Ormandy
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Tue, 19 Jan 2021 18:26 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tav...@nospicedham.gmail.com (Tavis Ormandy)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: 19 Jan 2021 18:26:49 GMT
Organization: A noiseless patient Spider
Lines: 34
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <i6omj9F21o8U1@mid.individual.net>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org>
<ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org>
<584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org>
<i6n4lkFmj4tU1@mid.individual.net> <ru6nt5$esj$1@gioia.aioe.org>
<XnsACB7A6869E7C6admin127001@144.76.35.252> <ru75dg$1efo$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="ee132f630393d47c2704b03476c2159f";
logging-data="9735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4/t3zyEEnfIwzIyeYgmikaqUc2ZSKrBI="
User-Agent: slrn/pre1.0.4-5 (Linux)
Cancel-Lock: sha1:hZI8feYTURk0Cx24d9UJmYatSZg=
View all headers
On 2021-01-19, paul <nospam@nospicedham.nospam.invalid> wrote:
Kerr-Mudd,John wrote:
Thanks for that advice as I want to start with something working like a
"hello world", and then proceed from there with at least the first program
working. That's how tutorials are supposed to work anyways.

I guess that probably means I need to change the original question to ask
for an assembler that works with a modern operating system like Win10 x64.

The assembler isn't the issue, you're trying to assemble a program
written for DOS. You need to find a tutorial designed for the system
you're targetting. Which language do you usually write in? If you're a C
programmer, you wouldn't expect CreateWindowEx() to work on DOS, and
likewise int 21h doesn't work on Windows.

The assemblers suggested can assemble programs for Windows 10, you've
been given good advice.

you'll need DOSEMU or DOSBOX or somesuch.

Does that mean there are no free assemblers (along with beginner tutorials)
that work native on a modern Win10 x64?


Do you mean "beginner" in the sense that you're an experienced Win32
developer, but not familiar with assembly?

Tavis.

--
 _o)            $ lynx lock.cmpxchg8b.com
 /\\  _o)  _o)  $ finger taviso@sdf.org
_\_V _( ) _( )  @taviso



Subject: Re: beginner assembler for windows?
From: aen...@nospicedham.spamtrap.com
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Tue, 19 Jan 2021 22:48 UTC
References: 1 2 3 4
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: aen...@nospicedham.spamtrap.com
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 22:48:08 GMT
Organization: Aioe.org NNTP Server
Lines: 9
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <6007614b.491310687@nntp.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0o75$1mfd$1@gioia.aioe.org> <ru2drk$1iud$1@gioia.aioe.org> <ru5tag$emc$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="ee132f630393d47c2704b03476c2159f";
logging-data="25999"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/iFEJqyAiU0pYi+3FpRkShCQzJOjQxD9o="
Cancel-Lock: sha1:i1hqYePJEHxD2KiFjuftSXF91AQ=
View all headers
On Tue, 19 Jan 2021 07:10:12 +0100, wolfgang kern
<nowhere@nospicedham.never.at> wrote:

NASM, FASM and I think even MASM have their own forum, google mayu help.

https://www.asmcommunity.net/
--
aen



Subject: Re: beginner assembler for windows?
From: Frank Kotler
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Wed, 20 Jan 2021 00:27 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: fbkot...@nospicedham.myfairpoint.net (Frank Kotler)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 19:27:30 -0500
Organization: Aioe.org NNTP Server
Lines: 22
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru7to2$1vbr$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org>
<ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org>
<584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org>
<i6n4lkFmj4tU1@mid.individual.net> <ru6nt5$esj$1@gioia.aioe.org>
<XnsACB7A6869E7C6admin127001@144.76.35.252> <ru75dg$1efo$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="161caa9c7846ee3f108bd3cc52e87348";
logging-data="11010"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XMaDPTKzzgXvh7KLUi2k8VxzMbVo4hSU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.5.2
Cancel-Lock: sha1:ieCfc1OB9SPKRzaoZe4GWi/5keo=
View all headers
On 01/19/2021 12:37 PM, paul wrote:
....
Does that mean there are no free assemblers (along with beginner tutorials)
that work native on a modern Win10 x64?

Free assemblers, yes. Tutorials may not be so easy.

If you installed Nasm using the installer, DO NOT USE the uninstaller! I   cannot confirm this, but I am told that it will delete "valuable programs" as well as Nasm,

Nasm does not come with a linker. Golink is popular. Many others will work.

There is an example of "Hello World" for Windows64 on the Nasm forum: http:forum.nasm.us It is not a tutorial.

I haven't run Windows since win98 so I can't help you much. I'll try (again) to find that example,

Best,
Frank



Subject: Re: beginner assembler for windows?
From: Frank Kotler
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Wed, 20 Jan 2021 03:19 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: fbkot...@nospicedham.myfairpoint.net (Frank Kotler)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Tue, 19 Jan 2021 22:19:19 -0500
Organization: Aioe.org NNTP Server
Lines: 10
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru87q9$1aqe$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org>
<ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org>
<584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org>
<i6n4lkFmj4tU1@mid.individual.net> <ru6nt5$esj$1@gioia.aioe.org>
<XnsACB7A6869E7C6admin127001@144.76.35.252> <ru75dg$1efo$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="161caa9c7846ee3f108bd3cc52e87348";
logging-data="7484"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FYWtXiguEc/IH0IcNlCL3oo9jIOG9B4E="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.5.2
Cancel-Lock: sha1:l5qZRurKe1l485C/+92aa/s022E=
View all headers

I'll try (again) to find that example,

https://forum.nasm.us/index.php?topic=2656.msg11959#msg11959

Not a tutorial.

Best,
Frank



Subject: Re: beginner assembler for windows?
From: paul
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Wed, 20 Jan 2021 05:00 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@nospicedham.nospam.invalid (paul)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Wed, 20 Jan 2021 06:00:12 +0100
Organization: Aioe.org NNTP Server
Lines: 93
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru8dct$roi$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org> <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org> <i6n4lkFmj4tU1@mid.individual.net> <ru6nt5$esj$1@gioia.aioe.org> <XnsACB7A6869E7C6admin127001@144.76.35.252> <ru75dg$1efo$1@gioia.aioe.org> <i6omj9F21o8U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="23caa0f880ea3c8ef54b1e4cf81df6fa";
logging-data="14143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kvw3z/4UQmsEU1oU9fZPdbi5O3X0eXc4="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:SM2lIdE65uFRWjBp2Kg7TORj41A=
View all headers
Tavis Ormandy wrote:

The assembler isn't the issue, you're trying to assemble a program
written for DOS. You need to find a tutorial designed for the system
you're targetting.

I apologize if I didn't know enough to ask the right question.

I just want to assemble a few programs on the Windows 10 x64 command line.

I would have called that "DOS" but it seems it's not DOS at all based on
what others said, so I don't know what else to call that command interface.

 I press the Windows key & the "r" key, and then I type "cmd"
 and then I press the "enter" key. Whatever CLI that happens to
 be called, is what I want the program I assemble to work inside of.

Which language do you usually write in? If you're a C
programmer, you wouldn't expect CreateWindowEx() to work on DOS, and
likewise int 21h doesn't work on Windows.

I am not a developer. I'm just a person. I just want to follow a basic
tutorial that takes a noob through the first set of five or ten programs.

Have you seen the Android Studio tutorials (in Kotlin & in Java) for
example? In an hour or two, you have a handful of programs working on your
cellphone, where none of them fail in my experience.

The only time you get a failure is when you go off script, and then you can
back up and go back on script and they suddenly work again.

Surely such a tutorial must exist for an assembler tutorial on Windows 10.

The assemblers suggested can assemble programs for Windows 10, you've
been given good advice.

Are you sure MASM is good advice for a noob if they also have to install
hundreds of megabytes of software just to get a 311 kilobyte assembler to
work?

And, is Nasm good advice for a noob if the tutorials they're using
(admittedly obviously lousy tutorials) result in failed programs from the
start?

All a noob beginner wants is a tutorial that results in code that works.

It's ok if that code is super simple (why do you think "hello world" is a
standard in almost all programming languages anyways?).

Do you mean "beginner" in the sense that you're an experienced Win32
developer, but not familiar with assembly?

The last time I took an IBM assembly language class was way back in the
sixties, where my first language was Fortran in the seventies, and my second
was COBOL and PL/1 was my third, still in the seventies, and that was the
last programming class I ever took.

We're talking punched cards of IBM JCL (in the first few cards) and then,
much later, being able to type at terminals (before modems, which were "new
fangled" decades later, when the AT&T phone was put into the cushions but we
still sat at "terminals" and waited for our folded paper to be pulled off
the dot matrix printer and put in the bins by alphabetical login names.

All this, of course, predates the personal computer, linux, etc., but what
was then and is now, is that a good tutorial is an empirical thing, much as
a good physics lab is empirical more so than theoretical.

What I'm looking for is an empirical assembly language tutorial for use on a
modern Windows desktop, where that empirical tutorial is much like that of
Android Studio, which is about as perfect as a tutorial can be in my
humblest of noob opinions.

Did you ever take a lab class in school?
The lab tells you exactly what to do, does it not?
You learn by watching what happens, but the lab is designed to work.

All I want is an assembly language tutorial that works just like a lab works
in physics or chemistry or biology, where the lab is designed to work for
everyone.

If the lab doesn't work, either it's a terrible lab, or a terrible student,
but more often any lab that doesn't work is just a poorly designed lab.

The tutorial I want is like a chemistry experiment lab, where the guy
writing the lab knows what's supposed to happen. The noob doing the lab just
makes it happen as the lab was written.

So far I haven't found that tutorial yet as the lab includes the equipment
(the lab is worthless without the equipment).

The assembly language tutorial is worthless without the assembler in that
respect just as a chemistry lab without chemicals is worthless as a lab.



Subject: Re: beginner assembler for windows?
From: Tavis Ormandy
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Wed, 20 Jan 2021 08:17 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tav...@nospicedham.gmail.com (Tavis Ormandy)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: 20 Jan 2021 08:17:32 GMT
Organization: A noiseless patient Spider
Lines: 44
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <i6q78sFaeg8U1@mid.individual.net>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org>
<ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org>
<584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org>
<i6n4lkFmj4tU1@mid.individual.net> <ru6nt5$esj$1@gioia.aioe.org>
<XnsACB7A6869E7C6admin127001@144.76.35.252> <ru75dg$1efo$1@gioia.aioe.org>
<i6omj9F21o8U1@mid.individual.net> <ru8dct$roi$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="3269caeb7564570858958f2a53e95b5f";
logging-data="8039"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+U5MjzaCTbCLprXw5N4RyAYmXmzwDN0Ok="
User-Agent: slrn/pre1.0.4-5 (Linux)
Cancel-Lock: sha1:9+Fi5Gm2A5qtY18G5lPXq5BY+AM=
View all headers
On 2021-01-20, paul <nospam@nospicedham.nospam.invalid> wrote:
Tavis Ormandy wrote:

The assembler isn't the issue, you're trying to assemble a program
written for DOS. You need to find a tutorial designed for the system
you're targetting.

I apologize if I didn't know enough to ask the right question.

I just want to assemble a few programs on the Windows 10 x64 command line.

I would have called that "DOS" but it seems it's not DOS at all based on
what others said, so I don't know what else to call that command interface.


Ah-ha, right, that was the source of the confusion. It's a reasonable
mustake, 32-bit Windows *could* run DOS programs using virtual 8086 mode
(a sort of emulation), so your program would have just worked!

Did you ever take a lab class in school?
The lab tells you exactly what to do, does it not?
You learn by watching what happens, but the lab is designed to work.

I feel your frustration, but you're trying to jump in at the deep end
with native win64 assembly language. This is just opinion, but I think
starting with C or C++ would be a better option. If you want to learn
assembly as you go, you can examine the code the compiler generates and
try to follow along with what it's doing.

One fun tool you can look at is compiler explorer, take a look:

https://godbolt.org/z/WW3383

You write some C on the left, and it shows you nicely formatted
assembly on the right. You can try changing something, and watch what
happens to the generated code.

Tavis.

--
 _o)            $ lynx lock.cmpxchg8b.com
 /\\  _o)  _o)  $ finger taviso@sdf.org
_\_V _( ) _( )  @taviso



Subject: Re: beginner assembler for windows?
From: R.Wieser
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Wed, 20 Jan 2021 08:41 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: addr...@nospicedham.not.available (R.Wieser)
Newsgroups: comp.lang.asm.x86
Subject: Re: beginner assembler for windows?
Date: Wed, 20 Jan 2021 09:41:17 +0100
Organization: Aioe.org NNTP Server
Lines: 26
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ru8qc1$12je$1@gioia.aioe.org>
References: <rtvd99$1au3$1@gioia.aioe.org> <ru0kuh$pq5$1@gioia.aioe.org> <ru2e8g$1pp0$1@gioia.aioe.org> <ru2vl3$1ckq$1@gioia.aioe.org> <584b0ghk4a257oao5mam70p0j61gdn1rbi@4ax.com> <ru5eca$394$1@gioia.aioe.org> <i6n4lkFmj4tU1@mid.individual.net> <ru6nt5$esj$1@gioia.aioe.org> <XnsACB7A6869E7C6admin127001@144.76.35.252> <ru75dg$1efo$1@gioia.aioe.org> <i6omj9F21o8U1@mid.individual.net> <ru8dct$roi$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="3269caeb7564570858958f2a53e95b5f";
logging-data="19329"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+C8tNLEKiNabdGaXObxbFBQcSjXYUR0Cw="
Cancel-Lock: sha1:v/SS69VCqH3S1+/3DZWAC9hWxMM=
View all headers
Paul,

I press the Windows key & the "r" key, and then I type "cmd"
and then I press the "enter" key. Whatever CLI that happens to
be called, is what I want the program I assemble to work inside of.

The problem is that you can run true (16-bit) DOS programs[1] (using INT 21h
and whatnot) as well as CLI (Command Line Interface - Windows Console)
programs (using the full gamut of Windows DLLs) in there.

[1] Caveat emptor: I'm using Win XP myself.  I have no idea if still works
under Win10.

IOW, mentioning /where/ you want to run it doesn't tell us much I'm afraid.

Could you give a few examples of the kind of programs you think you want to
make ?  Than we can tell you which environment (DOS or CLI) you are aiming
for.

Remark: It doesn't really matter which one of the above you start with, as
long as you start with console I/O (non-GUI) based programs.

Regards,
Rudy Wieser




Pages:123
rocksolid light 0.8.3
clearneti2ptor