Hello Martin, I don't have practical experience with KM.
The only reasons for Specification Exception on KM are: a) unknown function code in GPR0 b) odd register number in R1 or R2 - which is obviously not the case c) the length in R2+1 (R5 in your case) is not a multiple of the block size specific to the desired function (16 in your case, function code 18 = KM-AES-128). Which is not the case, because you put X'20' into R5 prior to KM. So I don't see an obvious reason for the specification exception. I would suggest that you double check the contents of GPR0 and GPR5, just to check for the cases a) and c) from above. Good luck, kind regards Bernd Am 19.11.2013 20:37, schrieb Martin Truebner:
Help- I have read POP-8 (ver 9) more than once I get a SOC6 on a z10 against a KM instruction KM 6,4 Function code is 18 Password is addressed by by parmblock R6 is somewhere R4 is the code to encode R5 is X'20' What could be wrong? I am lost and I hope to find someone that understands what I am saying. -- Martin Pi_cap_CPU - all you ever need around MWLC/SCRT/CMT in z/VSE more at http://www.picapcpu.de
