Binary strings: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: added syntax colouring, marked p2js compatible)
Line 35: Line 35:


===Copying strings===
===Copying strings===
This is a "deep copy," i.e. after this you will have a duplicate of the string "Hello" in two separate memory locations, not just a pointer to the original stored elsewhere.
<lang asm>;this code assumes that both DS and ES point to the correct segments.
<lang asm>;this code assumes that both DS and ES point to the correct segments.
cld
cld