Contents > General-purpose Computer > Assembly Language
A store instruction writes either A or B to the address in MN:
Instruction | Name | Pseudocode | Opcode |
---|---|---|---|
STA | Store A | *MN = A; | 30 |
STB | Store B | *MN = B; | 31 |
It does not affect the flags.
A store instruction maps to an opcode with bits 0011000s, where A and B correspond to s values 0 and 1, respectively.
© 2023 meatfighter.com |