more updates to 842
mv nx-842 to nx-842-pseries
add main nx-842.c