Suppose we add the following instruction to MARIEs ISA: IncSZ Operand This instruction increments the value with

Question:

Suppose we add the following instruction to MARIE’s ISA: 

IncSZ Operand 

This instruction increments the value with effective address “Operand,” and if this newly incremented value is equal to 0, the program counter is incremented by 1. Basically, we are incrementing the operand, and if this new value is equal to 0, we skip the next instruction. Show how this instruction would be executed using RTN. 44. Suppose we add the following instruction to MARIE’s ISA: 

JumpOffset X 

This instruction will jump to the address calculated by adding the given address, X, to the contents of the accumulator. Show how this instruction would be executed using RTN.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: