macro/instruct.txt

61 lines
1.8 KiB
Plaintext

PDP-10 Instructions
MOV - Move full word between accumulator and memory.
MOVE* - Move without modification.
MOVN* - Negate source.
MOVM* - Magnitude (absolute value) of source.
MOVS* - Swap source upper- and lower-half words.
MOV* - Move from memory to AC.
MOV*I - Immediate. Source is value of E itself.
MOV*M - Move from AC to memory.
MOV*S - Move from E to E.
EXCH - Exchange values of AC and E.
JRST - Unconditional jump.
JUMP[c] - Compare AC to zero and jump to E if condition met.
AOJ[c] - Add one to AC, compare result to zero, and jump if condition
met.
SOJ[c] - Substract one from AC, compare result to zero, and jump if
condition met.
AOBJ - Add one to both upper- and lower-half word of AC and jump.
AOBJN - Jump if AC is less than zero.
AOBJP - Jump if AC is greater than or equal to zero.
SKIP[c] - Compare contents of E to zero and skip next instruction if
condition met. If AC is non-zero, set AC to contents of E.
AOS[c] - Add one to E, compare result to zero, and skip next
instruction if condition met. If AC is non-zero, set AC to
contents of E.
SOS[c] - Substract one from E, compare result to zero, and skip next
instruction if condition met. If AC is non-zero, set AC to
contents of E.
CAM[c] - Compare contents of AC and E and skip next instruction if
condition met.
CAI[c] - Compare contents of AC to value of E (immediate) and skip next
instruction if condition met.
[c] - Arithmetic conditions for jump and skip instructions (JUMP, AOJ,
SOJ, SKIP, AOS, SOS, CAM, CAI).
blank - Never jump/skip.
L - Less than.
LE - Less than or equal.
E - Equal.
N - Not equal.
GE - Greater than or equal.
G - Greater than.
A - Always jump/skip (JUMPA is deprecated in favor of JRST).