SramWrite

Last Modified: 1/18/2021

Writes Data into Address in the external memory bank.

Arguments

NameTypeRequiredDescription
WriteType System Identifier Yes The type of write to perform to SRAM.
Address Long Yes The memory location to store Data.
Data Integer Yes The information to store at Address.

Write Types

TypeDescription
sbWriteByte The type of write to perform to SRAM.
sbWriteWord The type of write to perform to SRAM.

Example

Syntax: SramWrite <WriteType>, <Address>, <Data>
    Enable Sram
    SramWrite sbWriteByte,&h201FFF,65
    Disable Sram
    
    Print SramRead(sbReadByte,&h201FFF)

See Also

SramRead()