Picbasic pro to mbasic

any mbasic programmers here? i need to compile a code written in picbasic pro to mbasic.
there are a few terms that need changing before compiling will be accepted.

CMCON - i can figure out

ON INTERRUPT GOTO ISR - i changed it to - OnInterrupt ExtInt, ISR (don’t know if that is right or not)

LCDOUT $FE, 1 - i changed it to - LCDWrite RegSel\Clk\RdWrPin, LCDNib [Clear]

INTCON.2 - i changed it to - INTCON.Bit2

Can someone confirm if these changes are right. Also what is CMCON in mbasic. Thanks.

I figured it out after reading the data sheet. tried google search, but the old school methods proved to have the answer. CMCON is chip dependent. I’m using a 16F84A whereas CMCON is for the 16F627