Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the LC3 simulator, write a program where the user must enter a password that satisfies the following criteria: o at most 12 characters and

Using the LC3 simulator, write a program where the user must enter a password that satisfies the following criteria: o at most 12 characters and at least 8 characters o may contain only capital A through Z, “*” or “ ” (space) characters - The process must continue until the user enters a valid password. To pull this off, you’ll need to utilize TRAPS, Branches, Loads/Stores, and pretty much everything LC3 has to offer.

The program works as follows: o Ask to enter a password of up to 12 characters. o If password has any characters that are not allowed, warn the user that at least one character is not allowed, and ask for another password o Once the user enters a password that only contains allowed characters, print “Password created” and halt the program.

Step by Step Solution

3.58 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

Answer ORIG x3000 BR Main Functions FILL Testpack option 0 FILL Testunpack option 1 FILL TestprintCC option 2 FILL Teststrlen option 3 FILL Teststrcpy option 4 FILL Teststrcat option 5 FILL Teststrcmp ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Computer Engineering questions

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago

Question

Calculate the missing value.

Answered: 1 week ago