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.
Please i don't have a test for this chall in ruby :/
It is a standard that is part of the intel doc that means that we will use values that we can't predict for example non immediate values.
So indeed this is the basis for creating an x86 disassembler, however in this challenge I do not ask to implement the whole algorithm it would be too long! I only ask to work with the 11 Register Adressing mode, this mode simply means that we won't work with immediate values nor with displacements (mov eax, DWORD [ebp+0x8]). Instead we will work with two registers (move eax, eax; add edi, esi).
I have only implemented in ruby the 32 bits table. And for the iarch=32 it is simply to specify that we will work with 32 bits instructions it is true that in the case of the challenge it is not useful I will remove it.
okay look
0b11 => Register adressing example => mov eax, edi
0b01 => Displacement of 8 bits so 1 byte example => mov eax, DWORD [EBP+0x8]
its ok?
Do you want me to give you the answer too ^^? The first table is the opcode table, the second is the r/m mod table. I explained how to do it manually if you think you can understand the steps to develop the algorithm and therefore to use the tables provided. Of course I made the tables so that you don't have to spend hours to implement them again but if you want to implement them yourself there is no problem.
I have updated the tests and the description.
I have updated the tests and the description.
thanks you i will fix that
I will fix that. thank you
It is not that recent and then I have already seen anti cheats in code wars challenges in ruby
Hello, I am currently developing a kata for CW however I would like to remove the use of importing specific module all this in ruby do you have any solutions?
How to disable using method in code wars ?
Good chall thx