add machine code
add platform codes