1 Reply Latest reply on Jan 19, 2018 2:13 AM by samp

    LCD problems in Large Memory Model

    user_9986863

      Hi

      I'm having troubles displaying some data with large memory model.

      If I use small memory model instead it prints ok.

       

      mov     reg[IDX_PP],>Parameter1  

          mov     X,<Parameter1

          push     X

          mov     A,[X+0]

          mov     [bTemp2],A  

       

          mov A,0x00

          mov X,0x08

          lcall LCD_1_Position

          mov A,[bTemp2]

          lcall LCD_1_PrHexByte

        

          mov     reg[IDX_PP],>Parameter1

          pop     X

          mov     A,[X+1]  

          mov     [bTemp2],A

        

          mov A,0x01

          mov X,0x08

          lcall LCD_1_Position  

          mov A,[bTemp2]

          lcall LCD_1_PrHexByte

       

      Any help will be very welcome.

      Best regards

      Luis