I found this on page 81: But I guess you found that already.
See, its a feature, not a bug!Note: Addresses, F40h through F5Fh, are not
part of the Access Bank, therefore specifying
a BSR should be used to access these
registers.
I found this on page 81: But I guess you found that already.
See, its a feature, not a bug!Note: Addresses, F40h through F5Fh, are not
part of the Access Bank, therefore specifying
a BSR should be used to access these
registers.
Last edited by ScaleRobotics; - 21st August 2011 at 23:03.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I tried to head off that question in my earlier post.
I understand that it's outside of the access bank, but that only affects the "banked" opcodes (movf, movwf, bcf, bsf, iorwf etc). Banked opcodes are the only ones that work in that range on the 67J50.
MOVFF and indirect addressing are not affected by the BSR register.
They use the full address of the register.
From the MOVFF Instruction definition ...
Location of source ‘fs’ can be anywhere
in the 4096-byte data space (000h to
FFFh) and location of destination ‘fd’
can also be anywhere from 000h to
FFFh.
DT
Bookmarks