Assembly Routine Using STD Works in QB 3.00, Not 4.00 (33626)
This article was previously published under Q33626
SUMMARY
An assembly-language subprogram that uses the STD instruction (sets
the direction flag to indicate that strings will process down from
high addresses to low addresses) may not print the string correctly in
QuickBasic Version 4.00 unless the flag is first cleared before
returning, using the CLD instruction. Although this is the recommended
way to program the assembly language subprogram, QuickBasic Version
3.00 prints the string correctly even if the flag was not cleared.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB33626 |
|