ptr

Svejk

Senior Member
It is ptr a byte or a word?

I'm trying to write in scratchpad but it seems that I can't go over the pointer 255? I'm using a 28x2 and in manual it says it should have 1023.

Here is a sample code:

Code:
for w0=0 to 1023
@ptrinc = "X"
next w0
In simulator it stops filling the scatchpad at 255.

Am I doing something wrong?
 
Last edited:
Top