DAW - Decimal Adjust W Register, ERROR

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:

DAW - Decimal Adjust W Register, ERROR

#1 Post by yo2lio » 03 Oct 2007 13:18

Simulator CRASH when i try to run this program :

Code: Select all

prgram test_DAW;

var data : byte;

begin
  WREG := 15;
  asm
    daw
  end;
  data := WREG;
end.
Thanks.
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: DAW - Decimal Adjust W Register, ERROR

#2 Post by zristic » 03 Oct 2007 13:35

I tried on P18F8720, seems to be OK, though the simulator does not go beyond the DAW instruction.
Which PIC did you try?

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#3 Post by yo2lio » 03 Oct 2007 13:41

PIC18F452, PIC18F8720, simulator stop at DAW instructions.
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:

#4 Post by zristic » 03 Oct 2007 14:00

Does it CRASH or STOP? I understood you had system crash.

We fixed the stop issue, if you experience crashing please let us know.

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#5 Post by yo2lio » 03 Oct 2007 14:09

Sorry, STOP and commands like Step Intro, Step Over, Step Out and Run To Cursor is not accepted.
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:

#6 Post by zristic » 03 Oct 2007 14:17

They are accepted, but simply the program counter does not increment and simulator stays at the line.
It is fixed now.
Thanks.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

#7 Post by janni » 03 Oct 2007 14:50

Could you also fix the same problem with TBLWT*, TBLWT+*, TBLWT*-/+, and TBLRD+*?

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

#8 Post by zristic » 03 Oct 2007 14:51

janni wrote:Could you also fix the same problem with TBLWT*, TBLWT+*, TBLWT*-/+, and TBLRD+*?
We will do our best to fix that too.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

#9 Post by janni » 03 Oct 2007 15:01

I would appreciate that :D . I was affraid to mention the other simulator problems with PCLATH, PCLATU and PLUSW, but what the heck - could you try to fix these too?

If you don't remember them, look here http://www.mikroe.com/forum/viewtopic.php?t=10524.

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

#10 Post by zristic » 03 Oct 2007 15:04

I do not remember them all, I use Bugzilla to remember it for me.

Post Reply

Return to “mikroPascal Beta testing”