Simple test

40 views
Skip to first unread message

Bianca M

unread,
Oct 8, 2020, 9:11:12 AM10/8/20
to cmpt-295-sfu
SFU ID: 301366608
Github username:
Line and file: part2.c (no particular line)
Expected behavior: printing the right actual value
Observed behavior: The actual value printed is different from the value in the register.
Question: (Q1) I added 0xa + 0d20 and it is equal to 0x1e so I'm not sure why the expected value is so different.

(Q2) it also says instruction 4 on the second with an actual value of 0x10 but if i look at the 4th instruction the actual value is actually 0x1e.

 Are these problems related at all?



Bianca M

unread,
Oct 8, 2020, 9:12:25 AM10/8/20
to cmpt-295-sfu

Arrvindh Shriraman

unread,
Oct 8, 2020, 11:32:45 AM10/8/20
to cmpt-295-sfu
Check your PC. Read PC notes on group and on assignment pagr

n Thursday, October 8, 2020 at 6:11:12 AM UTC-7, Bianca M wrote:
Reply all
Reply to author
Forward
0 new messages