asm Statement

Beta Testing discussion on mikroPascal PRO for AVR.
Post Reply
Author
Message
JohannesH
Posts: 68
Joined: 23 Apr 2007 07:51

asm Statement

#1 Post by JohannesH » 03 Dec 2008 14:12

Hi!

Again me but I have some findings according the asm statement.

Code: Select all

asm
  LDI   R16, xyz
end;
1. Assume the constant xyz is not declared anywhere. This compiles and links without any error or warning. The actual value that gets loaded into R16 with this instruction is some arbitrary value I cannot understand. So there is missing an error message for this situation.

2. Now assume that xyz is a declared constant - either explicitely declared within the program with a const statement or a predefined constant like any of the bit number constants. In this situation the same as in 1. happens. The same arbitrary value gets loaded into R16 and not the defined value for the constant xyz.

Any feedback?
regards
Johannes

JohannesH
Posts: 68
Joined: 23 Apr 2007 07:51

#2 Post by JohannesH » 07 Dec 2008 15:28

No comment on this?

Regards
Johannes

User avatar
srdjan
mikroElektronika team
Posts: 1552
Joined: 28 Dec 2005 12:47
Location: Serbia

#3 Post by srdjan » 08 Dec 2008 16:31

Hi,
JohannesH wrote:No comment on this?

Regards
Johannes
Yep,
It's fixed. :wink:
Thanks for report.

JohannesH
Posts: 68
Joined: 23 Apr 2007 07:51

#4 Post by JohannesH » 08 Dec 2008 19:11

Thank You!
Will there be a new beta version with all the fixes available?

Johannes

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

#5 Post by zristic » 10 Dec 2008 10:47

JohannesH wrote:Will there be a new beta version with all the fixes available?
There will be an official release very soon.

JohannesH
Posts: 68
Joined: 23 Apr 2007 07:51

#6 Post by JohannesH » 10 Dec 2008 12:44

Very soon?

Before X-Mas?

JohannesH

jpc
Posts: 1986
Joined: 22 Apr 2005 17:40
Location: France 87

#7 Post by jpc » 10 Dec 2008 12:54

shame on you Johannes ,

we may dream,
we may wish,
we may hope,
but we may not ask WHEN ! :D

JohannesH
Posts: 68
Joined: 23 Apr 2007 07:51

#8 Post by JohannesH » 11 Dec 2008 07:19

Sorry - my fault!

Johannes

Post Reply

Return to “mikroPascal PRO for AVR Beta Testing”