Content deleted Content added
Comment on save areas, and some of the minutiae of coding in the OS/360 and successor environments. |
→Instruction Format: Comment on instructions |
||
Line 50:
==Instruction Format==
The article read "In most instructions, the target for an instruction appears first, then the source on the right (as with "a = 6" in C or Algol programming)." This is just not true. [[User:Peter Flass|Peter Flass]] ([[User talk:Peter Flass|talk]]) 03:18, 9 January 2012 (UTC)
I disagree: I don't want to count instructions by hand, but there are classes of instructions which follow the rule:
The RR instructions:
AR RX,RY
Adds the contents of RY to RX, so the target is RX.
The RX instructions:
A RX,nnn(RY,RZ)
adds the contents of the storage ___location indexed by RY, RZ and the offset nnn to RX. So the target is RX. There is an exception here: the Store instructions go the other way round.
The decimal, and character instructions work the same way.
[[User:Jhlister|Jhlister]] ([[User talk:Jhlister|talk]])
|