Mail Archives: djgpp/1998/07/07/12:19:24
Peter Danielsson <e96pd AT efd DOT lth DOT se>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
- Raw text -