I have a general-purpose (e.g. rax) register that represents a sequence of ascii chars (each of them taking up one byte) and I want to determine if there is a zero byte somewhere. There must be some logical operations to do this (...more efficiently than shifting and checking each byte individually).
Example:
0x7172706b -> no zero byte
0x7172006b -> zero byte is present