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.