Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #4201

retf

Newsgroups comp.os.msdos.programmer
Date 2022-11-06 14:16 -0800
Message-ID <0faf28ae-b39b-4fa3-a24c-9b67698c7009n@googlegroups.com> (permalink)
Subject retf
From "muta...@gmail.com" <mutazilah@gmail.com>

Show all headers | View raw


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.

Back to comp.os.msdos.programmer | Previous | NextNext in thread | Find similar


Thread

retf "muta...@gmail.com" <mutazilah@gmail.com> - 2022-11-06 14:16 -0800
  Re: retf "muta...@gmail.com" <mutazilah@gmail.com> - 2022-11-06 15:23 -0800

csiph-web