[ql-users] Bug in GWASL (I think)

2001-01-30 Thread Norman Dunbar

I am testing out some code in QLTDIS which was assembled with George Gwilt's
GWASL assembler version 1.2.
So far so good.
In testing MOVE An,USP and MOVE USP,An I find that GWASL  assembles as
follows :

MOVE USP,A7 = $456F = 0100 0110 0110 
MOVE A7,USP = $4E67 = 0100 1110 0110 0111

I had a few problems tracking this down because QLTDIS failed to disassemble
and gave me a DC.W $456F. The problem is present for every register number,
not just A7. I've tested it !

My docs say that bit 3 determines the direction (to or from USP) but George
is setting/changing bit 11 as well.
Are my docs wrong - I have the opcode as $4E6x where x = direction in bit 3
and the address register number in bits 0 to 2.

(If I am right and this is a bug, has anyone got Georges Email address
please. Thanks.)

Norman.



Norman Dunbar   EMail:  [EMAIL PROTECTED]
Database/Unix administrator Phone:  0113 289 6265
Lynx Financial Systems Ltd. Fax:0113 201 7265
URL:http://www.LynxFinancialSystems.com





RE: [ql-users] Bug in GWASL (I think)

2001-01-30 Thread Norman Dunbar

Sorry folks, can't convert hex to binary !

I meant to type :

MOVE USP,A7 = $456F = 0100 0101 0110 

and not as I originally had it ($5 = 0101 and not 0110 !)

Also the stuff about bit 11 is nonsence. I meant to write (oh yeah ?) that
the second nibble should be $E instead of $5. It's been one of those days !

Norman.



Norman Dunbar   EMail:  [EMAIL PROTECTED]
Database/Unix administrator Phone:  0113 289 6265
Lynx Financial Systems Ltd. Fax:0113 201 7265
URL:http://www.LynxFinancialSystems.com





[ql-users] Bug in GWASL (I think)

2001-01-30 Thread Norman Dunbar

I've found George's email address in the readme for the turbo qptr toolkit.

Norman.



Norman Dunbar   EMail:  [EMAIL PROTECTED]
Database/Unix administrator Phone:  0113 289 6265
Lynx Financial Systems Ltd. Fax:0113 201 7265
URL:http://www.LynxFinancialSystems.com





Re: [ql-users] Bug in GWASL (I think)

2001-01-30 Thread Marcel Kilgus

Norman Dunbar wrote: 
 Are my docs wrong - I have the opcode as $4E6x where x = direction in bit 3
 and the address register number in bits 0 to 2.

That's correct.

Marcel





RE: [ql-users] Bug in GWASL (I think)

2001-01-30 Thread Norman Dunbar

Thanks Marcel,

It's a bug then !
Hey, QLTDIS works !!

Norman.



Norman Dunbar   EMail:  [EMAIL PROTECTED]
Database/Unix administrator Phone:  0113 289 6265
Lynx Financial Systems Ltd. Fax:0113 201 7265
URL:http://www.LynxFinancialSystems.com



-Original Message-
From: Marcel Kilgus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 3:13 PM
To: ql-users
Subject: Re: [ql-users] Bug in GWASL (I think)


Norman Dunbar wrote: 
 Are my docs wrong - I have the opcode as $4E6x where x = direction in bit
3
 and the address register number in bits 0 to 2.

That's correct.

Marcel