Hi,

Read chapter 8 of the PicBasic Pro manual. (PDF file).
Chapter 8 = Assembly Language Programming

From the manual:

"If variables are to be shared between assembly and PBP, you must define
the variables in PBP".

Luciano