Extract HEX from test program