I can read in the MPASM user guide the following:
"The linker will generate the appropriate bank selecting code. For 14-bit instruction
width (most PIC12/PIC16) devices, the appropriate bit set/clear instruction on the IRP
bit in the STATUS register will be generated. But for PIC16 extended instructions,
FSR0H is modified instead of IRP bit (as there is no IRP bit)."
If I compile this code:
bankisel 100 nop
I got this results:
teszt.asm:3: üzenetPage or Bank selection not needed for this device. No code generated.
and I can found only a zero word for NOP instruction in the hex file. So gputils really doesn't make any code for it.
Here is what MPASMX did:
bsf 0x5, 0 bcf 0x5, 0x1 bcf 0x5, 0x2 bcf 0x5, 0x3 nop
I think the different is visible.