All of lore.kernel.org
 help / color / mirror / Atom feed
From: "ssams" <ssams@telkom.net>
To: linux-assembly@vger.kernel.org
Subject: looping_code
Date: Mon, 26 Aug 2002 16:19:31 +0700	[thread overview]
Message-ID: <web-43200817@m1.plasa.com> (raw)

i really new in linux assembly. i want to know how i loop
some code..?
i feel it is different with tasm, i have try tasm way for
looping but
it was not run cleanly in gnu assembly. are there any body
want to help me....?
by this code:

.data
msg: .byte 65,10

.text
   .globl mulai
mulai:
    mov $10,%edx
 
ulang:
  mov $4,%eax
  mov $1,%ebx
  mov $msg,%ecx
  int $0x80
  loop ulang

  mov $1,%eax
  int $0x80
   
---------------------  Yang Mudah dan Menghibur ----------------------------

 

Hosting menjadi mudah dan murah hanya di PlasaCom. Klik http://idc.plasa.com

F1 Mania!! Ikuti F1 Game di Obelix Game Corner di http://www.plasa.com/infotel/f1.html

 

---------------------------------------------------------------------------------------


             reply	other threads:[~2002-08-26  9:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-26  9:19 ssams [this message]
2002-08-26 14:59 ` looping_code Maciej Hrebien
2002-08-31  6:17 ` looping_code Scott Lanning
2002-08-31 15:05   ` looping_code Robert Plantz
2002-08-31 17:36     ` looping_code Scott Lanning
2002-08-31 15:51   ` looping_code Maciej Hrebien
2002-08-31 17:10     ` looping_code Robert Plantz
2002-09-01  9:21       ` looping_code Maciej Hrebien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=web-43200817@m1.plasa.com \
    --to=ssams@telkom.net \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.