Slide 55 of 67
Notes:
Algebraic assembly expresses the instructions as equations.
In the first expression, we take the absolute value of the number in A, and assign it to B. In the second, we'll take the number 512, shift it to the left by three, add it to A and place the result back in A. The third instruction our frame instruction where we want to increase the frame by 26 words, that is, increase the stack pointer by 26 words. The fourth instruction multiplies the value pointed to by table one by the value in the T register and then adds the value in B and accumulates the result in B. Finally, we want to pop a value off the stack and place it in the accumulator.
This dual syntax raises the question of whether the assemblers differ a lot. They're clearly a different style, but they both generate exactly the same op codes. These are isomorphic tools. Which assembler to use really becomes a matter of personal taste. It simply makes it easier to program the device for developers who have a preference for a particular style, or history programming a device which only uses mnemonic or algebraic syntax.