0

I am stuck on trying to figure out a few questions. The questions are listed below.

1: Given the data below, design IA-32 instructions to find the octal
string for X and save it in Y.

.data
X word 200
Y byte 6 dup (' ')

2: Given the data below, design IA-32 instructions to calculate the
Greatest Common Divisor of numbers in X and save it in Y.

.data
X dword -12000, 30000
Y dword ?

3: Given the same data below, design IA-32 instructions to replace the
first occurrence of string Y in string X with string Z.

.data
X byte "xyzyxnwicxyzalalalabcaaa"
Y byte "abc"
Z byte "1234"

I am a new Assembly programmer and am slowy learning. Any help would be great! Thank you very much.

Edited by pyTony: moved to correct forum

3
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by legendman3
1

So, you would like us to solve your homework for you? Do we get your degree when you are finished with school? Make an effort to solve this on your own first, and then we might think about helping you!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.