如何解决CW的报警提示:A12012: page value expected:

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

如何解决CW的报警提示:A12012: page value expected:

Jump to solution
630 Views
xiaoli
Contributor I

使用MC9S12DG256B芯片,出现如上提示,不知道如何解决,请知道的大侠告知,非常感谢。

Labels (1)
0 Kudos
1 Solution
532 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello xiao

Instead of specifying specific page number, in CW *.asm you can use the following notation

call   foo, PAGE(foo)

and even just

call   foo

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
532 Views
xiaoli
Contributor I

Hello Kuang:

i have try and it work. Thank you very much.

xiao

0 Kudos
533 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello xiao

Instead of specifying specific page number, in CW *.asm you can use the following notation

call   foo, PAGE(foo)

and even just

call   foo

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
532 Views
xiaoli
Contributor I

CALL   addr, 0x38,                    here have an error:A12102:Page value expected. how can i solve this? anybody help?

0 Kudos