Página 1 de 1

Dúvida com mensagem do MPLAB

MensagemEnviado: 20 Set 2010 23:19
por Francys Reymer
pessoal to mexendo com o poc16f877a com o mplab e em assembly puro, e quando depuro da esta mensagem:
Message[306] C:\PIC16F877A\HANDSCOPE_PIC16F877A.ASM 2464 : Crossing page boundary -- ensure page bits are set.

alguem sabe dizer o q é?

MensagemEnviado: 21 Set 2010 00:11
por Francys Reymer
to desconfiado que é aquele esquema de paginação do pic, prq quando estou no passo-a-passo e chego na linha 2464 como está descrito na mensagem ele salta para o início do programa. Alguém pode me dar um exemplo de como faz, se é q estou certo.

MensagemEnviado: 21 Set 2010 10:57
por Djalma Toledo Rodrigues
2.3 PCL and PCLATH
The program counter (PC) is 13-bits wide. The low byte
comes from the PCL register, which is a readable and
writable register. The upper bits (PC<12:8>) are not
readable, but are indirectly writable through the
PCLATH register.
On any RESET, the upper bits of the
PC will be cleared. Figure 2-5 shows the two situations
for the loading of the PC. The upper example in the figure
shows how the PC is loaded on a write to PCL
(PCLATH<4:0> → PCH). The lower example in the figure
shows how the PC is loaded during a CALL or GOTO
instruction (PCLATH<4:3> → PCH)..


Ver fig. 2-5

http://ww1.microchip.com/downloads/en/d ... 30292c.pdf

DJ

MensagemEnviado: 21 Set 2010 20:03
por Francys Reymer
vlw era isso mesmo kra =D