Re-writing port mappings in hex (to match datasheets better)