Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: e96pd AT efd DOT lth DOT se, djgpp AT delorie DOT com Date: Tue, 7 Jul 1998 13:23:59 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Help it's crashing! In-reply-to: <35A002F8.657C@efd.lth.se> Precedence: bulk Peter Danielsson wrote: > Why does my asm code crash when i try to loop? > > This is working: > movb %bl,(%edx) > incl %edx > movb %bl,(%edx) > > But NOT this: > movw $3,%cx ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ try movl $3,%ecx > PD: movb %bl,(%edx) > incl %edx > movb %bl,(%edx) > loop PD SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013