I am going to assume you have atleast put the Asm and the table correctly ,
Well about the part how you actually give that ev / ivs / nature to a trainer pokemon ,
Don't use the first entry its 0 , the second entry in the table is 1 to use that in " hopeless trainer editor " pick a trainer...