use pure assembler ...

Ok, being a bit more serious ( ? ) ...

@ first OVERALL have a very neat scheme of what your processor must do ... called " program chart ".

after that ... picbasic pro command sometimes need to be looked at closer ( use of if-then instead of select case, retrieve tables use instead of calculations ... i.e )

but not general method except knowing exactly what you want to do ...

Alain