Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
instruction_encoding [2023/11/15 16:26] – [Jump instructions] pulkomandy | instruction_encoding [2023/12/18 12:45] – [ALU instructions] pulkomandy | ||
---|---|---|---|
Line 137: | Line 137: | ||
The ST operation uses the second source operand (Rs, address, ...) as the target, and operand A (always a register) as the source. | The ST operation uses the second source operand (Rs, address, ...) as the target, and operand A (always a register) as the source. | ||
+ | |||
+ | Other operations can use both forms, so the "From [Addr16]" | ||
+ | |||
+ | '' | ||
+ | |||
+ | and the "To [Addr16]" | ||
+ | |||
+ | '' | ||
+ | |||
+ | (so in this case the register encoded in OPA is used as a source, not a destination). | ||
+ | |||
+ | The LD and ST operations with the 16-bit addressing mode ignore the value of Rs, they use only Ra and the 16-bit value. |