Observed behavior: shows that I need to return a negative index, my main.s in printing positive index but for some reason it says I need a negative one
Question: Did I do something wrong with my simple file
Bianca M
unread,
Oct 28, 2020, 11:57:57 AM10/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-295-sfu
I checked my simple file refs and they are exactly the same as my output confused whats going on
Arrvindh Shriraman
unread,
Oct 28, 2020, 1:27:39 PM10/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-295-sfu
Not sure when you say "index" what you mean.
The only commit we see online is from 8 days ago.
Please include comments in your assembly code
1) What are the input arguments to each method or routine
2) What is each register mapping
3) Include some C code to indicate what you are expecting the code to be doing
A figure would be helpful
Bianca M
unread,
Oct 28, 2020, 4:37:06 PM10/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-295-sfu
I've pushed my code numerous times it should be updated, on line 214 in main.s my input is a pointer to an array and its length to argmax then the output is the index of the biggest number. It's printing correctly but tester2_python3 says that it is not the same as the ref file saying the ref file is -1 and my input is +1
Arrvindh Shriraman
unread,
Oct 28, 2020, 5:52:17 PM10/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cmpt-295-sfu
Can you specify the exact command you run:
I cloned your repo and ran
source ./scripts/localci.sh
You seem to have completed the assignment.
Is there something I am missing.
The commit I see is this: commit d3814300a34fe5d56d9e9cb89b2c5d3b6273c002
Arrvindh Shriraman
unread,
Oct 28, 2020, 5:52:37 PM10/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message