AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database

Direction of Storage

The storage / loading direction used by the instruction is controlled by the first character in the option field. This may be either of the following:
I     Increment address after storing / loading each register
D     Decrement address after storing / loading each register
If an incrementing address is specified, then registers will be stored in / loaded from locations: 'base', 'base+4', 'base+8', etc. The reverse will occur with a decrementing address.

Pre or Post Address Modification

The second letter in the option field specifies whether the address is to be modified before or after each register is stored / loaded. The following options can be used:
A     Modify address after storing / loading each register
B     Modify address before storing / loading each register
If the address is modified after storing / loading each register, then the first register will be stored / loaded at the address in base, and the second at (base+4) or (base-4), depending on the increment / decrement option.
If the address is modified before storing / loading each register, then the first address will be stored / loaded at the address in (base+4) or (base-4), again depending on the increment / decrement option. The second register will be stored / loaded at (base+8) or (base-8), etc.

[sh-index] Back to list of manuals