I cannot access the table values above 2K memory.Please help.
I have mentioned the memory address (from de-assembling list) in the comments.
I have mentioned the memory address (from de-assembling list) in the comments.
Code:
call Cal_Offset ; get the character offset
call ASCII_Table ; 0x0ff line
movwf PORTB
----
----
ASCII_Table movlw High Table
addwf Offset_H,W
movwf PCLATH
movlw Low Table
addwf offset_L,W
btfsc STATUS,C
incf PCLATH,F
movwf PCL
;
Table retlw b'00000000'
retlw b'00000000'
retlw b'00000000'
retlw b'00000000'
retlw b'00000000'
;
Char_1 retlw b'00000001'
retlw b'00000001'
retlw b'00000001'
retlw b'00000001'
retlw b'00000001'
retlw b'00000001'
;
retlw b'00000000'
;----
;----
;---- ; 0x07ff
[COLOR="Red"]Char_8 retlw b'00000001' ; 0x0800[/COLOR]
retlw b'00000010'
retlw b'00000100'
retlw b'00001000'
retlw b'00010000'
retlw b'00100000'
Last edited: