Re: Assembler bugs

From: Colin Connery <caconnery_at_hotmail.com>
Date: Tue, 20 Mar 2001 12:00:23 -0500

Rick,

I actually tested '0 [EAX] BYTE EAX ADD' before I used it. It does add to
the full EAX register. However, being non-standard usage, it may be causing
secondary problems so I'm dropping it. Thanks for your help.

Best regards, Colin

>From: "Rick VanNorman" <rick_at_forth.com>
>Reply-To: sftalk_at_forth.com
>To: sftalk_at_forth.com
>Subject: [sftalk] Re: Assembler bugs
>Date: Mon, 19 Mar 2001 15:35:12 -0800
>
>
>Colin,
>The first and most obvious problem is that 0 [EAX] BYTE EAX ADD simply
>adds the byte at 0 [EAX] to AL -- not to EAX . Not sure about the rest of
>it tho...
>
>Try:
>
>CODE RESETPATRONS
> TOPPATRON # EAX MOV 0 [EAX] EAX MOV
> 0 # ECX MOV BEGIN
> 0 [EAX] CL MOV
> CL CL OR 0<> WHILE
> 127 # CL AND CL 0 [EAX] MOV
> ECX EAX ADD
> REPEAT END-CODE
>
>Rick
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
Received on Tue Mar 20 2001 - 09:02:03 PST


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 09-Feb-2012. Archive updated nightly.