I have this bytes in my YMM register (32-BYTE)
47 105 110 100 101 120 46 112 -1 104 112 -1 63 107 101 121 -1 49 61 118 97 108 117 101 49 38 107 101 121 50 61 118
There are three -1 bytes in this YMM register. I want to delete all -1 bytes and shift the next bytes 1 unit back to be something like this
47 105 110 100 101 120 46 112 104 112 63 107 101 121 49 61 118 97 108 117 101 49 38 107 101 121 50 61 118 0 0 0
I just want to delete all -1 and bring the next bytes 1 unit back ...
Is there any instruction for this action? How can i do this?
I can handle both C or assembly suggestion ....
Thank you.