Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

We want to create puppets that pull their own strings. -- Ann Marion


devel / comp.os.msdos.programmer / retf

SubjectAuthor
* retfmuta...@gmail.com
`- retfmuta...@gmail.com

1
retf

<0faf28ae-b39b-4fa3-a24c-9b67698c7009n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=660&group=comp.os.msdos.programmer#660

  copy link   Newsgroups: comp.os.msdos.programmer
X-Received: by 2002:ac8:4b68:0:b0:3a5:2307:9ed0 with SMTP id g8-20020ac84b68000000b003a523079ed0mr32384915qts.465.1667773432240;
Sun, 06 Nov 2022 14:23:52 -0800 (PST)
X-Received: by 2002:a25:5189:0:b0:6cc:c17:27e6 with SMTP id
f131-20020a255189000000b006cc0c1727e6mr637341ybb.245.1667772988876; Sun, 06
Nov 2022 14:16:28 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.msdos.programmer
Date: Sun, 6 Nov 2022 14:16:28 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=110.54.190.243; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 110.54.190.243
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0faf28ae-b39b-4fa3-a24c-9b67698c7009n@googlegroups.com>
Subject: retf
From: mutazilah@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 06 Nov 2022 22:23:52 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1334
 by: muta...@gmail.com - Sun, 6 Nov 2022 22:16 UTC

I thought I only needed to code "ret", and the memory
model would take care of converting that to either
retf or retn, as required.

But I found under both wasm and masm I need to put
retf. Any idea why?

..model medium

..code

public two
two:

push dx
mov ah,2
mov dl,41h
int 21h
pop dx

retf

db 40000 dup(?)

end

Thanks. Paul.

Re: retf

<72cb73f5-b191-4690-a2fe-836544d32023n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=661&group=comp.os.msdos.programmer#661

  copy link   Newsgroups: comp.os.msdos.programmer
X-Received: by 2002:a05:6214:19cb:b0:4bb:6a28:83bc with SMTP id j11-20020a05621419cb00b004bb6a2883bcmr42945753qvc.102.1667776982862;
Sun, 06 Nov 2022 15:23:02 -0800 (PST)
X-Received: by 2002:a81:8414:0:b0:367:e2c7:b449 with SMTP id
u20-20020a818414000000b00367e2c7b449mr45711120ywf.34.1667776982670; Sun, 06
Nov 2022 15:23:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.msdos.programmer
Date: Sun, 6 Nov 2022 15:23:02 -0800 (PST)
In-Reply-To: <0faf28ae-b39b-4fa3-a24c-9b67698c7009n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=110.54.190.243; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 110.54.190.243
References: <0faf28ae-b39b-4fa3-a24c-9b67698c7009n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <72cb73f5-b191-4690-a2fe-836544d32023n@googlegroups.com>
Subject: Re: retf
From: mutazilah@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 06 Nov 2022 23:23:02 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1844
 by: muta...@gmail.com - Sun, 6 Nov 2022 23:23 UTC

On Monday, November 7, 2022 at 6:23:52 AM UTC+8, muta...@gmail.com wrote:
> I thought I only needed to code "ret", and the memory
> model would take care of converting that to either
> retf or retn, as required.
>
> But I found under both wasm and masm I need to put
> retf. Any idea why?
>
> .model medium
>
> .code
>
> public two
> two:
>
> push dx
> mov ah,2
> mov dl,41h
> int 21h
> pop dx
>
> retf
>
> db 40000 dup(?)
>
>
> end
>
>
>
> Thanks. Paul.

I found that if I put it in a proc, it behaves as expected.

..model medium

..code

public two
two proc

push dx
mov ah,2
mov dl,41h
int 21h
pop dx

ret

two endp

db 40000 dup(?)

end

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor