Assume that the variables a and b are stored in memory locations 300 and 301. The values +1 and 0 are stored in them, respectively. Also, assume that the three integers are stored in memory locations 400, 401, and 402, respectively. Finally, assume that the code begins at memory location 50. Using any of the machine sequences shown in Section 5.24, translate the following algorithmic language into machine language equivalents. (20 points total, 2 points for each operation instruction and 1 point for each correct memory location)
Set a to the value of a + b - 1
If a > 0, set b to the value +1