SPSTR starting location?
Falcon
Posts: 191
I'm starting to write some code that will pass multiple BYTES via the SERIN SPSTR statement into ScratchPad RAM. The BSS&RM describes SPSTR as follows:
Input a character string of L bytes (up to 126) into Scratch Pad RAM, starting at location 0. Use GET to retrieve the characters.
Is there a modifier that would save the BYTES at any ScratchPad location other than 0? Or is the only option to use an immediate PUT command to save them to a different ScratchPad location?
I want to receive ~ 16 BYTES but I would then need 16 PUT commands to relocate them using up more memory space.
I may end up with two separate serial busses coming into the STAMP. If so, they could potentially overwrite the data written to ScratchPad locations 0-15.
Thoughts? Comments?
falcon
Input a character string of L bytes (up to 126) into Scratch Pad RAM, starting at location 0. Use GET to retrieve the characters.
Is there a modifier that would save the BYTES at any ScratchPad location other than 0? Or is the only option to use an immediate PUT command to save them to a different ScratchPad location?
I want to receive ~ 16 BYTES but I would then need 16 PUT commands to relocate them using up more memory space.
I may end up with two separate serial busses coming into the STAMP. If so, they could potentially overwrite the data written to ScratchPad locations 0-15.
Thoughts? Comments?
falcon
Comments
Cheers,
falcon