Hello,
how can I the following asm code convert to pbp?
bsf STATUS,RP0 ' page 1
bcf OPTION_REG,7 ' pullup enable
Is there a big difference in the speed?
Thanks
Wilfried
Hello,
how can I the following asm code convert to pbp?
bsf STATUS,RP0 ' page 1
bcf OPTION_REG,7 ' pullup enable
Is there a big difference in the speed?
Thanks
Wilfried
Hi Wilfried,
Given that it is only two lines of asm, there would be no real advantage to doing the same thing from pic basic. You may as well just include your asm into your .bas code by delimiting it between the ASM and ENDASM instructions.
ASM
bsf STATUS,RP0 ' page 1
bcf OPTION_REG,7 ' pullup enable
ENDASM
As for the speed issue, I think this would be faster ....
Regards,
Sherm
Bookmarks