Let's say you have some code in the .data section:
doodle db "*****,3,*****"
Is there anyway to change the ,3, into something else? (Perhaps a smiley face or somesuch.)
I was thinking if I had the registers all set up, I could do something like:
~~assume there is code above~~ mov si, 0 mov al, doodle[si] ~~continue down to loop~ characterloop: cmp doodle[si], ',3,' jne L1 mov al, 01h jmp othercode
Any hints or tips would greatly be appreciated.