The STOS instruction copies the information item from AL (for bytes - STOSB), AX (for words - STOSW) or EAX (for doublewords - STOSD) to the destination string, pointed to by ES:DI in memory.
The following example demonstrates use of the LODS and STOS instruction to convert an upper case string to its lower case value –
When the above code is compiled and executed, it produces the following result –
Assembly Programming Related Interview Questions
|C++ Interview Questions||C Interview Questions|
|Embedded Systems Interview Questions||Linux Embedded systems Interview Questions|
|PLC/Microcontrollers/Microprocessors Interview Questions||Microprocessor 8085 Interview Questions|
|Microprocessor 8086 Interview Questions||Embedded C Interview Questions|
Assembly Programming Related Practice Tests
|C++ Practice Tests||C Practice Tests|
|Embedded Systems Practice Tests||Linux Embedded systems Practice Tests|
|PLC/Microcontrollers/Microprocessors Practice Tests|
Assembly Programming Tutorial
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.