x64 Assembly and C++ Tutorial 33: String Instructions 2, Scan and Load Strings

We’re still looking at the string instructions here. We’ll cover another two, SCAS and LODS. We’ll also look at the remaining two repeat prefixes, REPZ and REPNZ. You can use Scan string to look for a particular value in a string as per the IndexOf() type functions in C . You can use Load string to load sequential values from a string into RAX for processing. I know this stuff is boring but I figured I’d do some tutes on it since there’s very little info on the net nowadays.
Back to Top