Article View: alt.free.newsservers
Article #180167Steve Crook...Any idea why this post just now seems to have disappeared into the ether?
From: Arlen Holder
Date: Sun, 19 Apr 2020 00:56
Date: Sun, 19 Apr 2020 00:56
74 lines
3106 bytes
3106 bytes
Steve Crook...
Any idea why this post just now seems to have disappeared into the ether?
--
From: Arlen Holder <arlenholder@anyexample.com>
Subject: Which freeware assembler would you use on Windows for this source code?
Newsgroups: alt.comp.freeware,alt.lang.asm,comp.lang.asm.x86
Date: Sat, 18 Apr 2020 20:47:33 -0400
User-Agent: NewsTap/4.0.1 (iPad)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Frank: Slootweg
Content-Transfer-Encoding: 7bit
*Which freeware assembler would you suggest a noob use on Windows nowadays?*
Source code was kindly provided today on Usenet's MS DOS batch newsgroup:
<http://tinyurl.com/alt-msdos-batch>
That source appears to be Intel X86 assembly language code (AFAICT):
<https://groups.google.com/d/msg/alt.msdos.batch/JZMlGo_2__E/T18O5XWjAwAJ>
In addition, are these the correct newsgroups to be asking this question?
<https://groups.google.com/forum/#!forum/comp.lang.asm.x86>
<http://tinyurl.com/alt-lang-asm>
<http://tinyurl.com/alt-comp-freeware>
*Which freeware assembler would you suggest a noob use on Windows nowadays?*
--
This is the source code:
winmain::
jsr.l (GetCommandLine)
; skip program name
eor.l r1,r1 ; not within "" flag
dec.l r0
_20: inc.l r0
cmp.b #0,(r0)
beq.b _10
cmp.b #'"',(r0)
bne.b _30
not.l r1
_30: or.l r1,r1
bne.b _20
cmp.b #' ',(r0)
bne.b _20
inc.l r0
_10: eor.l r5,r5
move.l #5,r4 ; default: SW_SHOW
_50: movu.bl (r0),r1
inc.l r0
or.b r1,r1
beq.b _40
sub.b #'0',r1
bcs.b _50
cmp.b #9,r1
bhi.b _50
mulsq.l #10,r5,r5
add.l r1,r5
eor.l r4,r4
br.b _50
_40: or.l r4,r4
beq.b _60
move.l r4,r5
_60: jsr.l (GetConsoleWindow)
move.l r5,-(sp)
move.l r0,-(sp)
jsr.l (ShowWindow)
moveq.l #0,-(sp)
jsr.l (ExitProcess) ; exit program
Technical Details
Message-ID:
<r7g7k9$hd5$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <r7g7k9$hd5$1@news.mixmin.net> Subject: Steve Crook...Any idea why this post just now seems to have disappeared into the ether? Date: Sun, 19 Apr 2020 06:26:41 +0530 From: Arlen Holder <arlenholder@anyexample.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: alt.free.newsservers Organization: Mixmin Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 19 Apr 2020 00:56:42 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="f26c789efbf3e57e688807aee0dd884ed51f0684"; logging-data="17829"; mail-complaints-to="abuse@mixmin.net" User-Agent: NewsTap/4.0.1 (iPad) X-Frank: Slootweg