PIC 24F VGA array addressing instructions
I've solved it with a macro:


#define showpx asm("   MOV     [W8], W9"); \
    asm("   BTSC    W9,#3"); \
    asm("   BSET    PORTC, #3"); \
    asm("   MOV     W9, PORTB"); \
    asm("   INC2    W8, W8");


and repeated it like this:


#define show8px showpx; showpx; showpx; showpx; showpx; showpx; showpx; showpx;

    show8px show8px show8px show8px show8px show8px show8px show8px show8px show8px


This removes the loop overhead and works perfectly!