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.

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!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.