empty SRAI adding PC+4?

45 views
Skip to first unread message

Bianca M

unread,
Oct 8, 2020, 9:23:41 PM10/8/20
to cmpt-295-sfu
SFU ID: 301366608
Github username:biancago
Line and file: part2.c line200
Expected behavior: loop, get stuck, don't do anything
Observed behavior: it adds PC+4 whilst being empty
Question: I have no clue why it's adding PC+4 when it's empty...

Arrvindh Shriraman

unread,
Oct 8, 2020, 10:21:04 PM10/8/20
to cmpt-295-sfu
Include images of your output and mark exactly which register and where in the trace.
Also if your program is stalled, describe how (infinite loop, not run to the end etc).
: it adds PC+4 whilst being empty. What's empty?
Reply all
Reply to author
Forward
0 new messages