Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 6th, 2011, 02:54 PM
Heroere Heroere is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 2 Heroere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 57 sec
Reputation Power: 0
[Assembly x86] Help with an algorythm.

Code:
START
N(int)=0
i(int)=0
V[N]
even=0
odd=0
input N
do
	input V[i]
	i=i+1
while i<N
i=0
do
	if i%2=0
		then V[i]=V[i]+1
	else
		V[i]=V[i]^2
	i=i+1
while i<N
i=0
do
	if V[i] is even
			then even=even+1
			else odd=odd+1
	i=i+1
while i<N
output pair
output odd
END


I need desperate help. I would pay to get this done. And don't get me wrong. If our teacher actually teached us the knowledge to do it, i'd try by myself. I never stand back from a problem as a matter of fact. But I just don't have any damn clue on how to do this. If someone can do the coding for me and paste it somewhere, it'd be eternally, ETERNALLY appreciated.


Thanks in advance even for reading this.

PS: Using TASM assembler.

Reply With Quote
  #2  
Old January 6th, 2011, 02:57 PM
Heroere Heroere is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 2 Heroere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 57 sec
Reputation Power: 0
Just read top topics. I guess you can close this.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > [Assembly x86] Help with an algorythm.

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap