On Thursday, January 19, 2023 at 12:31:49 PM UTC-6,
omerad...@gmail.com wrote:
> Whats the difference between accumulator = "0" and all bits of accumulator equals to "1".
The former has AC = 000000000000000000
The later has AC = 11111111111111111
Depending on whether we are in 2-s complement, 1's complement, or signed magnitude; the difference4 is 1, or 0, or 0.
<
> How it effects the result and what it changes? Does it changes the instructions that we re executing?
<
We know nothing about the architecture, its numeric properties, and other details:: so it is hard to answer your question.
<
> For example :
> M[1027]← M[350] - M[65] And AC=0. What s the instructions that we need to use?
<
Taking a wild guess:: SUBtract
<
> M[1027]← M[350] + M[65] And each bit of AC equals to "1". What s the instructions that we need to use?
<
Taking a wild guess:: ADD
<
Although we might need to LD M[350]; ADD M[65]; ST M[350];