- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Labels:
-
PSoC 1
-
PSoC 1 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Luis,
Try prefixing the code with
RAM_PROLOGUE RAM_USE_CLASS_4
RAM_PROLOGUE RAM_USE_CLASS_2
At the end, add
RAM_EPILOGUE RAM_USE_CLASS_2
RAM_EPILOGUE RAM_USE_CLASS_4
Sampath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Luis,
Try prefixing the code with
RAM_PROLOGUE RAM_USE_CLASS_4
RAM_PROLOGUE RAM_USE_CLASS_2
At the end, add
RAM_EPILOGUE RAM_USE_CLASS_2
RAM_EPILOGUE RAM_USE_CLASS_4
Sampath