Question: This has to be done in assembly language code. 1. Take an input string and find out the even position of the string by Subtracting

 This has to be done in "assembly language code". 1. Take

This has to be done in "assembly language code".

1. Take an input string and find out the even position of the string by Subtracting 1 then add 2 with it. Input: Size of String: 6 String: 234567 Output: 468 Input: Size of String: 5 String: 23456 Output: 46 2. Take an input string and find out the odd position of the string by Adding 2 then subtract 1 with it Input: Size of String: 6 String: 123456 Output: 246 Input: Size of String: 5 String: 12345 Output: 246

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!