You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comment "increment the PC by 16 which increments the address of instruction memory by 4" is incorrect.
Instead:
PC is incremented by 64 bytes.
This corresponds to skipping 16 instructions (as each instruction is 4 bytes).
Corrected Explanation for jal:
PC Increment: The PC is incremented by 256 bytes (not 64 bytes).
Instruction Memory: The jump corresponds to skipping 64 instructions (not 16).
Return Address: The register x10 will hold the value PC + 4. If the current PC is 0x0000, x10 will hold 0x0004.
The text was updated successfully, but these errors were encountered:
Corrected Explanation for beq:
The comment "increment the PC by 16 which increments the address of instruction memory by 4" is incorrect.
Instead:
PC is incremented by 64 bytes.
This corresponds to skipping 16 instructions (as each instruction is 4 bytes).
Corrected Explanation for jal:
PC Increment: The PC is incremented by 256 bytes (not 64 bytes).
Instruction Memory: The jump corresponds to skipping 64 instructions (not 16).
Return Address: The register x10 will hold the value PC + 4. If the current PC is 0x0000, x10 will hold 0x0004.
The text was updated successfully, but these errors were encountered: