🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.programming
Article #413

Re: Assembler-podstawy...

#413
From: rG... Ryszard Glab
Date: Fri, 01 Mar 1996 00:00
25 lines
1020 bytes
In article <4h7gcd$2...@bnet.fuw.edu.pl>,
 Filip Ruszkowski <fili...@pol.pl> wrote:

>code
>org 100h

>start:
>  lea dx,msg1
>  mov ah,09h
>  int 21h
>  ...
>end start

  W modelu TINY segmenty DS, SS i CS maja te sama wartosc czyli
najprostszym rozwiazaniem jest:

start:
	push	cs
	pop	ds

i dalej juz bez problemow.
Poza tym nie jest potrzebne deklarowanie nazwy segmentu jesli uzyles
dyrektywy .DATA (i tak segment danych moze byc tylko jeden)
----------------------=-----------------------=-----------------------
r(ycho)GLAB           |  rg...@maloka.waw.pl  |         Warsaw, Poland
Technical Details
Message-ID: <4h80at$lnn@bilbo.nask.org.pl>
Path: mbox-mo1.pugleaf.net!unknown!not-for-mail
References: <4h7gcd$264@bnet.fuw.edu.pl>

Show Full Headers
Complete Article Headers
From: rG...@maloka.waw.pl (Ryszard Glab)
Subject: Re: Assembler-podstawy...
Date: 1996/03/01
Message-ID: <4h80at$lnn@bilbo.nask.org.pl>
X-Deja-AN: 141764305
references: <4h7gcd$264@bnet.fuw.edu.pl>
organization: VIP Software via Maloka BBS
reply-to: rg...@maloka.waw.pl
newsgroups: pl.comp.programming
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit