We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,063 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

A few x86 assembly questions.

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.

1
Contributor
1
Reply
14 Hours
Discussion Span
1 Year Ago
Last Updated
2
Views
Question
Answered
kww228
Newbie Poster
15 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

this is just some sample questions nothin more.

kww228
Newbie Poster
15 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Question Self-Answered as of 1 Year Ago

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.1046 seconds using 2.63MB