MC9RS08KA2 A/D conversion

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MC9RS08KA2 A/D conversion

1,249 次查看
jackabo
Contributor I
I had a message posted before about using the AN3266 document to do A/D conversion for my MC9RS08KA2 and I have almost debugged all of the code. However, there is one section of the code where the Page Selection Register is initialized with the code of "mov #HREG, PAGESEL" However, there is no variable called HREG in the document. Does anyone know if this vaule is just $00 or is there some other value that is used to set the PAGESEL to an initial value? If anyone has any ideas please let me know. Thank you.
 
Jackabo
标签 (1)
0 项奖励
回复
1 回复

600 次查看
bigmac
Specialist III
Hello Jackabo,
 
I would guess that HREG is the value that should be in PAGESEL, so that the high page registers ($0200-$023F) are visible in the paging window.  If my reckoning is correct, the following definition would apply -
 
HREG  EQU  8
 
Regards,
Mac
 
0 项奖励
回复