Hmm, looking in the tst.asm I can see that all errors points to my config lines

Its REALLY REALLY stupid that the config lines are in different formats between mp and mpasm

Theese are the config switches I used the last time.. but I tried at least 20 more variants..

@ __CONFIG _CONFIG1H, _OSC_HS_1H
@ __CONFIG _CONFIG2H, _WDT_OFF_2H & _WDTPS_512_2H
@ __CONFIG _CONFIG3H, _PBADEN_OFF_3H
@ __CONFIG _CONFIG4L, _LVP_OFF_4L & _XINST_ON_4L

This was my original attempt after reading the docs..

@ __config _OSC_HS &_LVP_OFF &_WDT_OFF

..And yes I am using a external xtal @24MHz, and yes I know that there are a internal osc in this pic.