Okay there is a thread on String Functions and Function Speed and I thought i would create this thread as a documentation to myself for the Store Byte To String Function
Stores the Byte in AL/AX/EAX to or and sets flags accordingly
It then increments or decrements (depending on the flag) DI (or EDI)
Segment override prefixes have no effect for this instruction: the use of ES for the store to or cannot be overridden.
The REP prefix may be used to repeat the instruction CX (or ECX - again, the address size chooses which) times.
STOSB ; uses AL [8086]
STOSW ; uses AX [8086]
STOSD ; uses EAX [x386]
Stores the Byte in AL/AX/EAX to or and sets flags accordingly
It then increments or decrements (depending on the flag) DI (or EDI)
Segment override prefixes have no effect for this instruction: the use of ES for the store to or cannot be overridden.
The REP prefix may be used to repeat the instruction CX (or ECX - again, the address size chooses which) times.
Segment override prefixes have no effect for this instruction: the use of ES for the store to or cannot be overridden.