🡄 Previous

Next 🡆

Contents > General-purpose Computer > Assembly Language

Store Instructions

A store instruction writes either A or B to the address in MN:

InstructionNamePseudocodeOpcode
STAStore A*MN = A;30
STBStore 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.

🡄 Previous

Next 🡆