No, MPASM just nagged you with "Message[302] <filename.asm> <line>: Register in operand not in bank 0. Ensure that bank bits are correct".
If you wanted a clean build you had to either use errorlevel -302, which totally disabled bank checking or if you wanted to check for banking errors, use your own version of BANKMASK(), consisting of:
#define BM _cbank ^and used as
movwf BM TRISAand also keep _cbank up to date, by writing your own macros to replace BANKSEL and BANKISEL that updated it as well as generating the bank selection code. Additionally one needed a 'BANKSMASH' macro that could be used at jump and call targets, which made _cbank -1, which would give a message 302 for *any* legal register address, so if you were entering a routine with an unknown bank selected, you could raise an error if SFRs were accessed before a definite bank selection was made.
If a future version of XC8 switched BANKMASK() to XOR masking with the tracked current bank, it might actually become useful.
The XC8 assembler pic-as (formerly aspic) is incredibly annoying anyway. e.g. Its ridiculous that nearly 12 years after Microchip acquired Hi-Tech, you still need to create a dummy C function, carefully tweaked NOT to optimize away parameters or the return value, compile it and trawl through the assembly listing to get the magic SIGNAT number to let you link a pure assembler module with C code!
Another major idiocy is the depreciation of #asm and #endasm. Having to wrap each inline assembly line of code in C source strings in individual asm() statements is just barbaric! Surely there could have been a better way of doing this, maybe using C preprocessor #pragma syntax?