The following symbols are used in the definition of addressing modes:
Symbol | Meaning |
M | Location (i.e., address) Min the main store |
Ai | Address register (i= 0 to 7) |
Di | Data register (i= 0 to 7) |
Xi | General register i (Xi may be an address or data register) |
[M] | The contents of memory location M (M is used only to represent a general memory location. |
[X] | The contents of register X (X may be an address or a data register) |
[D,(0:7)] | Bits zero to seven of register Di |
<> | Enclose a parameter required by an expression |
ea | The effective address of an operand |
[M(ea)] | The contents of a memory location whose effective address is ea |
d8 | An 8-bit signed offset (a constant in the range -128 to 127) |
d16 | A 16-bit signed offset (a constant in the range -32K to 32K) |
d32 | A 32-bit signed offset (a constant in the range -2G to 2G) |
As an example of the use of this notation, here is the ADD instruction.
The instruction ADD <source>, <destination> and it has
the effect:
[destination] <- [destination] + [source]
In RTL terms, the assembly language instruction ADD <s>,<d> is
defined as [M(d)] <- [M(s)] + [M(d)]. That is, the content of
"source" is added to the content of "destination" and the result is transferred
to the "destination".