GIDForums  

Go Back   GIDForums > Computer Programming Forums > Assembly Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 14-Apr-2008, 22:30
beginnernaive beginnernaive is offline
New Member
 
Join Date: Apr 2008
Posts: 1
beginnernaive is on a distinguished road

Assembly language using MASM615 32bit


Okay I just need help and some shed on light how to overcomes this I mean from start..since I'm beginner with assembly...maybe expertise here can help me out by point me the rite path on how to dig it...

ok here's the scenario I have to solve

Code:
A predetermine number is stored in an array named ANS.The number will be a 4-digit number, like 1234.Only numbers 0 to 9 is permitted.The player will be prompted to guess the number in the correct sequences.Clues will be given to help the player make the next guess.The clues are as follows * --> right number and right place + --> right number but wrong place & --> wrong number and wrong place sample: Say the right answers is 1245. User inputs: 1234 output : **&+ Player are given 9 try to get the right answers

So I'm really help from expertise on how to start it I mean after define the array and get the input from user here's are my code currently....hope someone will give me some shed light on how to solve it.... really need help..any help are appreciated..

here's the code just for my starting..

Code:
TITLE masterclassgame <masterclassgame.asm> INCLUDE Irvine32.inc .data ANS SWORD 1,2,3,4 RESTRICTED SWORD 0,5,6,7,8,9 inputUser BYTE "Please Enter Your Answers :",0 .code main PROC mov edx,OFFSET inputUser call WriteString call Crlf call ReadInt ;how to assign input user into my variable??? mov ebx,OFFSET ANS ;point to array mov ecx,LENGTHOF ANS ;loop counter call Crlf exit main ENDP End main

Hope will get help from expertise...tq in advanced
 
 

Recent GIDBlogWelcome to Baghdad by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C mixed with assembly x86 ChristieGiorgos Assembly Language 1 23-Mar-2008 06:47
Standard Assembly Languages Peter_APIIT Assembly Language 10 23-Mar-2008 06:31
Hangman in Assembly zeliie Assembly Language 1 24-Nov-2007 11:32
Program Not working, assembly language czerdrill Assembly Language 1 28-Oct-2007 14:13
Assemblers & assembly language BlueFireCO. Assembly Language 2 26-Mar-2007 09:56

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:09.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.