I'm working on a routine for the 16c84. This routine, using indirect addressing, modifies a GPR's bit. The code is: movf BYTENRO,W ; BYTENRO is the GPR address movwf FSR ; indirect addresing movf BITNRO,W ; bit to modify call Tabla_1 iorwf INDF,1 ; bit_number OR INDF( BYTENRO's ; content ) goto somewhere_else Tabla_1 addwf PCL,1 retlw 1 ; bit number 0 retlw 2 ; bit number 1 retlw 4 ; bit number 2 retlw 8 ; bit number 3 retlw 10 ; bit number 4 retlw 20 ; bit number 5 retlw 40 ; bit number 6 retlw 80 ; bit number 7 My question is: Does the instruction "iorwf INDF,1" updates the contents of BYTENRO??? If it doesn't I must add "movwf INDF" I simulated the code with MPSim and PICSim (by DR. C.E. Wick). MPSim tells me BYTENRO is not update; PICSim tells me it does. I do not know which is the rigth way. Please, tell me if I am explicit enough in this post. I hope you help me work it out. TIA Carlos Betancourt CETI-UNET Venezuela