Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

24 Apr, 2024: Testing a new version of the Overboard here. If you have an issue post about it to rocksolid.nodes.help (I know. Everyone on Usenet has issues)


devel / comp.os.cpm / M80 question

SubjectAuthor
* M80 questiondxforth
`* Re: M80 questionfridtjof.ma...@gmail.com
 `* Re: M80 questiondxforth
  `- Re: M80 questiondxforth

1
M80 question

<ship01$vmr$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2724&group=comp.os.cpm#2724

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.os.cpm
Subject: M80 question
Date: Sun, 12 Sep 2021 03:28:33 +1000
Organization: Aioe.org NNTP Server
Message-ID: <ship01$vmr$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="32475"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
X-Mozilla-News-Host: news://nntp.aioe.org:119
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Sat, 11 Sep 2021 17:28 UTC

I want to use this in a macro but wondering if there
was a less clumsy way of writing it?

ifb <axt>
ifnb <fl>
dw $+2
else
dw cfadr
endif
else
dw cfadr
endif

Re: M80 question

<14b7502d-322b-43a3-801b-8affc8c144dbn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2732&group=comp.os.cpm#2732

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:758a:: with SMTP id s10mr257377qtq.96.1631548130348;
Mon, 13 Sep 2021 08:48:50 -0700 (PDT)
X-Received: by 2002:a05:6820:235:: with SMTP id j21mr9810942oob.75.1631548130123;
Mon, 13 Sep 2021 08:48:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Mon, 13 Sep 2021 08:48:49 -0700 (PDT)
In-Reply-To: <ship01$vmr$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:955f:2c00:e944:939f:55ad:a135;
posting-account=KOfC_woAAAC0YBGf-3r2aV5g2Aifd9jO
NNTP-Posting-Host: 2607:f2c0:955f:2c00:e944:939f:55ad:a135
References: <ship01$vmr$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <14b7502d-322b-43a3-801b-8affc8c144dbn@googlegroups.com>
Subject: Re: M80 question
From: fridtjof...@gmail.com (fridtjof.ma...@gmail.com)
Injection-Date: Mon, 13 Sep 2021 15:48:50 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 27
 by: fridtjof.ma...@gmail - Mon, 13 Sep 2021 15:48 UTC

On Saturday, September 11, 2021 at 1:28:35 PM UTC-4, dxforth wrote:
> I want to use this in a macro but wondering if there
> was a less clumsy way of writing it?
>
> ifb <axt>
> ifnb <fl>
> dw $+2
> else
> dw cfadr
> endif
> else
> dw cfadr
> endif

Not completely sure, but you may want to consider

local v
v set cfaddr
ifnb <axt>
ifb <fl>
v set $+2
endif
endif
dw v

Gets rid of the else clauses.

FredW

Re: M80 question

<sho1ol$5rg$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2733&group=comp.os.cpm#2733

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.os.cpm
Subject: Re: M80 question
Date: Tue, 14 Sep 2021 03:28:53 +1000
Organization: Aioe.org NNTP Server
Message-ID: <sho1ol$5rg$1@gioia.aioe.org>
References: <ship01$vmr$1@gioia.aioe.org>
<14b7502d-322b-43a3-801b-8affc8c144dbn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="6000"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Mon, 13 Sep 2021 17:28 UTC

On 14/09/2021 01:48, fridtjof.ma...@gmail.com wrote:
> On Saturday, September 11, 2021 at 1:28:35 PM UTC-4, dxforth wrote:
>> I want to use this in a macro but wondering if there
>> was a less clumsy way of writing it?
>>
>> ifb <axt>
>> ifnb <fl>
>> dw $+2
>> else
>> dw cfadr
>> endif
>> else
>> dw cfadr
>> endif
>
> Not completely sure, but you may want to consider
>
> local v
> v set cfaddr
> ifnb <axt>
> ifb <fl>
> v set $+2
> endif
> endif
> dw v
>
> Gets rid of the else clauses.

It's one line shorter, however the logic is easier to follow.

Thanks.

Re: M80 question

<shpk47$1ehn$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=2738&group=comp.os.cpm#2738

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.os.cpm
Subject: Re: M80 question
Date: Tue, 14 Sep 2021 17:48:23 +1000
Organization: Aioe.org NNTP Server
Message-ID: <shpk47$1ehn$1@gioia.aioe.org>
References: <ship01$vmr$1@gioia.aioe.org>
<14b7502d-322b-43a3-801b-8affc8c144dbn@googlegroups.com>
<sho1ol$5rg$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="47671"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: dxforth - Tue, 14 Sep 2021 07:48 UTC

On 14/09/2021 03:28, dxforth wrote:
> On 14/09/2021 01:48, fridtjof.ma...@gmail.com wrote:
>> On Saturday, September 11, 2021 at 1:28:35 PM UTC-4, dxforth wrote:
>>> I want to use this in a macro but wondering if there
>>> was a less clumsy way of writing it?
>>>
>>> ifb <axt>
>>> ifnb <fl>
>>> dw $+2
>>> else
>>> dw cfadr
>>> endif
>>> else
>>> dw cfadr
>>> endif
>>
>> Not completely sure, but you may want to consider
>>
>> local v
>> v set cfaddr
>> ifnb <axt>
>> ifb <fl>
>> v set $+2
>> endif
>> endif
>> dw v
>>
>> Gets rid of the else clauses.
>
> It's one line shorter, however the logic is easier to follow.
>
> Thanks.

Something to note for anyone using the latter.

For SLR assemblers in one-pass mode (the default) DW V must be
known on the first pass i.e. CFADR can't be defined later.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor