On Wed, 26 Sep 2001, Gibbs Tanton - tgibbs wrote:
>It works for me and looks to be ok, can you tell me why you think binary
>numbers are broken?
Sorry: I was unclear.
I meant: the current assembly is broken here ( I have perl 5.005 BTW )
( debugging shows that the register is set to zero instead of say 12,
and if I change the assembly from 0b1100 to 12, the test passes )
I din't try the new assembler.
Mattia
>-----Original Message-----
>From: Mattia Barbon
>To: Gibbs Tanton - tgibbs
>Cc: '[EMAIL PROTECTED] '
>Sent: 9/26/2001 2:44 AM
>Subject: Re: new assemble.pl
>
>On Wed, 26 Sep 2001, Gibbs Tanton - tgibbs wrote:
>
>>Attached is a new assemble.pl. No, it doesn't change anything, it only
>>breaks the code up into easier to follow functions (which are
>commented). I
>After looking at the old assembler code: Thanks!
>
>>am going to test it on a few more platforms and then apply it tomorrow
>if no
>>one has any objections. Having it broken up into functions should make
>it
>>easier to change (e.g. adding NV to the constants table).
>Current assembler ( Wed Sep 26 01:00:02 2001 UTC ) does not handle
>binary ( 0b0101010 ) constants ( that's why bitwise tests were
>failing for me ).
>If you could have a quick look at it it would be great
>( of course I can do it too, but since you are working on the assembler,
> probably is easier for you )
>
>Regards
>Mattia
>