🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.programming
Article #412

Assembler-podstawy...

#412
From: Filip Ruszkowski
Date: Fri, 01 Mar 1996 00:00
31 lines
870 bytes
Czesc wam wszystkim,

mamtaki problem zeprzy czyms takim:

model tiny
data
dane SEGMENT
  msg1 DB 'TEST$'
dane ENDS
assume ds:dane

code
org 100h

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

wydawalo mi sie ze ds:dx powinien wskazy wac na msg1, a jednak nie!
Wiem ze mogl bym napisac:

mov dx,@data

ale tego juz nie skompiluje do .com-a
W ogole jestemm dosyc zielony z assemblera to moze wam to pytanie sie 
wydawac glupie...

                                              Z gory dzieki, Filip
Technical Details
Message-ID: <4h7gcd$264@bnet.fuw.edu.pl>
Path: mbox-mo1.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
From: Filip Ruszkowski <fili...@pol.pl>
Subject: Assembler-podstawy...
Date: 1996/03/01
Message-ID: <4h7gcd$264@bnet.fuw.edu.pl>
X-Deja-AN: 141741417
mime-version: 1.0
newsgroups: pl.comp.programming
x-mailer: Mozilla 1.2N (Windows; I; 16bit)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit