🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #2040

Re: Argumenty z wiersza poleceń

#2040
From: Wiktor S.
Date: Sun, 06 Dec 2009 17:22
15 lines
1303 bytes
>> W jakim systemie operacyjnym?

> Na przykład jak zrobić to w Linuksie? (mnie też to interesuje :P)

_start:
    pop eax ; ilość argumentów
    pop ebx ; arg. 0 (nazwa programu)
    pop ecx ; arg. 1
    pop edx ; arg. 2

prościej chyba być nie może.


-- 
Azarien
Technical Details
Message-ID: <hfgp8s$d3b$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
References: <662ceec1-5abf-4c45-8fff-512be5452e62@z41g2000yqz.googlegroups.com> <20091121230924.8d11faf0.wojciech_mula@poczta.null.onet.pl.invalid> <hfglab$95c$1@news.agh.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
From: "Wiktor S." <wswiktor&poczta,fm@no.spam>
Newsgroups: pl.comp.lang.asm
Subject: Re: Argumenty z wiersza poleceń
Date: Sun, 6 Dec 2009 18:22:36 +0100
Organization: http://onet.pl
Lines: 16
Message-ID: <hfgp8s$d3b$1@news.onet.pl>
References: <662ceec1-5abf-4c45-8fff-512be5452e62@z41g2000yqz.googlegroups.com> <20091121230924.8d11faf0.wojciech_mula@poczta.null.onet.pl.invalid> <hfglab$95c$1@news.agh.edu.pl>
NNTP-Posting-Host: 193.239.126.100
Mime-Version: 1.0
X-Trace: news.onet.pl 1260120156 13419 193.239.126.100 (6 Dec 2009 17:22:36 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Sun, 6 Dec 2009 17:22:36 +0000 (UTC)
In-Reply-To: <hfglab$95c$1@news.agh.edu.pl>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit