AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Syntax:          STR {<cond>}{<size>}{T} <destination>, <address>
Operation:     Data transfer from the registers to memory
Flags:          Unaffected

This instruction is used to transfer data from the registers into memory. A system of indirect addressing is used to specify the destination location address - the address to be looked up is held in a register.
There are two forms of indirect addressing: Pre-indexed and Post-indexed. In addition to these two forms, a PC relative address can also be specified.

When T is specified, the STR is translated to have the same priviledges as though loaded in user mode. In such circumstances, a data abort will occur if a user mode program were to try to store to this address (regardless of the current mode).

When a store is made from a non-word aligned address, the data will be rotated right by 8 times the value in lower two bits of address.

[sh-index] Back to list of manuals