Not strictly a VSM question, should this be on another forum?
I'd like to store some WORD sized data in the EEPROM area of a 28X so I've been looking at the manual entries for WORD READ and WRITE.
There aren't any code examples for writing and reading word data, so I'm a bit unsure about how to use the syntax
WRITE location, data, data, WORD wordvariable
and
READ location, data, data, WORD wordvariable
I'd expect to have a bit of code that looked something like
main :
' set value of word variable
w0 = 1234
' write word variable data to 2 byte locations in EEPROM
WRITE somewhere, WORD w0
end
Is there a brief code example somewhere that could show me how to do this on a 28X chip?
Cheers
P
I'd like to store some WORD sized data in the EEPROM area of a 28X so I've been looking at the manual entries for WORD READ and WRITE.
There aren't any code examples for writing and reading word data, so I'm a bit unsure about how to use the syntax
WRITE location, data, data, WORD wordvariable
and
READ location, data, data, WORD wordvariable
I'd expect to have a bit of code that looked something like
main :
' set value of word variable
w0 = 1234
' write word variable data to 2 byte locations in EEPROM
WRITE somewhere, WORD w0
end
Is there a brief code example somewhere that could show me how to do this on a 28X chip?
Cheers
P
Last edited: