I know how to define a byte, but I don't know how to use it. I'm using some serial communication, and I need to see if a command is received.
My command interpreter is going to look at each character received and if all chars received in the string, then it will stop serial communication. My question is "How do you look through the string and see if what you are receiving matches your command string?
Code:
ExitCmdString: DB 45h, 78h, 69h, 74h, 43h, 6Dh, 64h, 00h