DSPIC - ASM listing

Discuss about beta versions of mikroPascal compiler.
Post Reply
Author
Message
yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

DSPIC - ASM listing

#1 Post by yo2lio » 20 Dec 2007 07:05

I found few errors in ASM listing for DSPIC.
Ex :

Code: Select all

  asm
    SWAP.B W12
    BRA NZ,label
    BRA Z,label
label:
  end ;
I found this ASM :

Code: Select all

$0672	$FDE00C			SWAP.B.B	W12
$0674	$3A0001			BRA NZ	NZ, LABEL
$0676	$320000			BRA Z	Z, LABEL
$0678	$	LABEL:
Compiler put twice .B, NZ, Z in ASM code.
It's possible to be more ....
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: DSPIC - ASM listing

#2 Post by zristic » 20 Dec 2007 09:17

OK, thanks. We will fix it.

Post Reply

Return to “mikroPascal Beta testing”