i am doing my final year project based on the 80c51 processor
I am forced to convert a code written for a pic16f87x to a p89c51rd2.
1.i am having a hard time converting the paging in the pic and
understanding registers related to paging like Pclath and PCL and PCH
2. what does HIGH(label1) do in the following code and what can i do in 8051
label1
movlw HIGH(label1) ;***pre-load PCLATH***
movwf PCLATH
movf Index2, W; index2 is a byte
addwf PCL, F
dt "Set System Time %" ;% indicates end of table
3.what can i do with these kind of instruction
BTFSS status,z
bcf bit1; bit1 is a bit definition
I am forced to convert a code written for a pic16f87x to a p89c51rd2.
1.i am having a hard time converting the paging in the pic and
understanding registers related to paging like Pclath and PCL and PCH
2. what does HIGH(label1) do in the following code and what can i do in 8051
label1
movlw HIGH(label1) ;***pre-load PCLATH***
movwf PCLATH
movf Index2, W; index2 is a byte
addwf PCL, F
dt "Set System Time %" ;% indicates end of table
3.what can i do with these kind of instruction
BTFSS status,z
bcf bit1; bit1 is a bit definition