Link to home
Start Free TrialLog in
Avatar of ImraneA
ImraneA

asked on

Assembly Language Program - "Prompts a user to enter password"

Hi there

I am Newie to this area, any help greatly appreciated.

Problem:-

Write a program which prompts the user to enter a password.  The password needs to be read in and stored in memory.

Valid Password -

1.> 6 and 12 <= chars
2.1st char be letter
3.rest aplha

A.Invalid char error message appears
B.Password entered, length check done.  Error message appears otherwise.

Questions:-

1.Any suggestions on how to write this program in assembly .

Thanks.

ASKER CERTIFIED SOLUTION
Avatar of BeyondWu
BeyondWu
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry,the line:
 call IsCharAlphaNumeric        ;check the first character of the password.
should be:
call IsCharAlphaNumeric        ;check the other character of the password.
Avatar of ImraneA
ImraneA

ASKER

Sorry for delay, excellent answer.

Thanks.