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:
VARIANT B:
TASKS:
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 IDEStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started