Question: Assignment Description: WRITE THE CODE IN MASM 32 Assembly language By implementing following tasks, try to apply IA-32 specialized string processing instructions SCAS, MOVS, CMPS,

Assignment Description:

WRITE THE CODE IN MASM 32 Assembly language

By implementing following tasks, try to apply IA-32 specialized string processing instructions SCAS, MOVS, CMPS, LODS and STOS, with and without REP prefix. the source and return text strings are assumed to be in ASCIIZ format (i.e., an array of bytes terminated with null character (0)).

VARIANT A:

Assignment Description: WRITE THE CODE IN MASM 32 Assembly language By implementing

VARIANT B:

following tasks, try to apply IA-32 specialized string processing instructions SCAS, MOVS,

TASKS:

CMPS, LODS and STOS, with and without REP prefix. the source and

Please note that:

Note: Procedures, calculations, conditions and jumps must be implemented with full assembler, e.g. in assembler module!

To pass the source string and return results, define appropriate C/C++ function declarations.

Hint: To test your understanding of task variants, you are welcome to implement them first in some HLL (e.g., C/C++). If HLL implementation is working, then you have to translate it to ASSEMBLY LANGUAGE INSTRUCTIONS. However, if only HLL implementation is submitted, it will not contribute to your grade level.

I need help with this assignments i am not getting correct outputs please do it in MASM 32 assembly language code and keep in mind to use inline assembler do this ASAP

thank you

Count sum of decimal numerals in the source string. E.g., 4A 78 B 19 Return string by removing multiple consequent spaces from the source string and replace them with one underscore character. E.g., A BC DA_BC_D Assignments to complete Implement variant for task A. Implement variant for task B. Provide test calls of implemented functions to cover typical source string cases (including empty (zero length) and null strings) and implement in a separate Win32 Project (.DLL) and call exported assembler module procedures from another Console Application Project (.EXE). To prove it, include appropriate screenshots of the IDE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!