Consider the following C++ program fragment:
int x=SOME_NUMBER; // SOME_NUMBER has been #defined...
xptr = &x;
Assume the xptr variable is stored at memory location 1000
Then the contents of memory location 1000 will be the memory address of the variable x.
Write micro-code to perform the following operation:
If x > 0 then
Register B = X + 1
Register B = X - 1
Assume that register A contains the value 1000