Administrator
|
Part of the confusion is that there are two perspectives to consider:
From the CPU's perspective, when the program is running, the D=D+M instruction does indeed involve arithmetic.
However, from the Assembler's perspective, when it is translating the program from Hack to binary, the D=D+M instruction is 3 textual tokens, "D", "=" and "D+M" that need to be processed into the text "111100001001000".
This will make more sense when you write your own Assembler in project 6.
-----
For me, algebra has too many meanings in common English. I'd have written this something like
Although "D=D+M" appears to be an arithmetic expression, it is
3 textual elements: "D", "=" and "D+M". The "D+M" ...
--Mark
|