Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
rsp offset is correct, but not all arguemnts are pushed on the stack, look system v abi for amd64 manual, - first 6 integers are put into registers, only then stack is used.
I think your code put "" to array. I had same problem.
In my other comment here, I described a test crashing when the solution simply cannot. Even the initially provided empty function
char* assembler_interpreter (const char* program) {}
"crashes" on theprogram_fail
sample test, even though it does nothing, because of the way expected output and actual output are handled. It probably doesn't help much since you already passed all the simple tests, but it may be something to think about.I can't see your code until it passes the tests, but you can post it here with this format:
```C
// Your code
```
and please check the box "Mark as having spoiler content".
;-)
This part is wrong. Please read description of
jnz
again. There is no "register number 5" in this example, and the 5 does not denote a register.In this case the cells top and bottom neighboors are them selves. So the second cell in your example would have the following neighboors:
it's probably because i modified the test code in the meantime. i'm still really puzzled though, i dont understand what could have caused this
what do you mean by your attempt ?
did you define a function called
print_war
? there is already one in the Preloaded section, so if you define your own the names are going to clashprint_war
is defined in the sample tests to begin with.Error says
multiple definition of print_war
, so look for where it is a second timeThis comment is hidden because it contains spoiler information about the solution
I had the same problem (С code). Most likely the problem is garbage in array output. I solved it output[0] = '\0';
MAAAAl
You got it though, congratulations!
Loading more items...