well, I know that CLD clears direction flag and STD sets direction flag. but what\'s the point in setting and clearing direction flag?
CLD CLears the Direction flag, data goes onwards. STD SeTs the Direction flag, data goes backwards.