Print flags in hex