Program the control unit for an electronic safe

Assignment Help Assembly Language
Reference no: EM13725607

Program the control unit for an electronic safe.

The 8-Segment display and LEDs will show status of the safe:

  • U: indicates safe is unlocked
  • L: indicates safe is locked
  • P: indicates safe is programming a code
  • C: indicates safe is confirming a new code
  • F: indicates safe is forgetting an old code
  • A: indicates a programming request was successful
  • 'E': indicates a programming fault.

The safe starts unlocked, cannot be locked and there are no valid codes. Whenever there are no codes the safe cannot be locked.

To lock the safe (this should work at ANY time):

  1. press the left black button.

To unlock the safe (This should work ONLY when the safe is locked):

  1. Enter a valid code sequence
  2. Press the left black button.

To learn a new code (codes must be 4 buttons or more):

  1. Press the right button once
  2. 8-segment should show 'P'
  3. enter a new code sequence
  4. press the right button again.
  5. 8-segment should show 'C'
  6. enter the same code sequence
  7. press the right button a third time.
  8. If the code was correct 8-segment displays 'A'
  9. if the code was incorrect 8-segment display 'E'

To forget an old code:

  1. Press the right black button
  2. 8-segment should show 'P'
  3. enter an old code sequence
  4. press the right button again.
  5. 8-segment should show 'F'
  6. enter the same code sequence
  7. press the right button a third time
  8. If the codes matched 8-segment displays 'A'
  9. if the codes did not matched 8-segment displays 'E'

Reference no: EM13725607

Questions Cloud

Article in a professional journal regarding social marketing : Find a recent (past 3 years) article in a professional journal regarding social marketing in health care and write a 2 to 3 paragraph summary of the key concepts in the article.
How did the influx of scots the north american landscape : How did the influx of Scots, Irish and Germans change the North American landscape?
Characteristics of an executive information system : What are the distinguishing characteristics of an executive information system (EIS)? Why have these systems become a part of business intelligence in many companies
Sherwood manufacturing case study : Review the Sherwood Manufacturing case study again. This assignment can be framed with what you see in the case already, but also you can make assumptions about the environment as well. Simply include your assumptions into your report.
Program the control unit for an electronic safe : Program the control unit for an electronic safe. The 8-Segment display and LEDs will show status of the safe.
Write an essay on chicago style format : CHICAGO STYLE FORMAT ESSAY. Please understand plagiarism before attempting this paper. This can only be turned in once. If plagiarized and copied, you will not receive payment.
Write a paper about doing business in china : A half page paper about doing business in China. Must include all bullet points: Incentives: criteria's, privileges, eligible activities and Taxation policy
What factor led to collapse of emergence of roman government : What factors led to the collapse of the Roman Republic and the emergence of the Roman Imperial government structure? Did the emergence and growth of Christianity contribute to the decay of "Roman virtue"?
An expertise in building customer relationships : The Meredith Corporation has developed an expertise in building customer relationships through segmentation, targeting, and positioning. However, the amazing part is that they have accomplished this by focusing on only the female half of the po..

Reviews

Write a Review

Assembly Language Questions & Answers

  Nonrecursive factorial

Write a nonrecursive version of the Factorial procedure that uses a loop and Write a short program that interactively tests your Factorial procedure.

  1 complete the following tables using hexadecimalnbsp

1. complete the following tables using hexadecimalnbsp numbers only

  Documented assembly language program

Write a complete well documented assembly language program (starts at $C000) that counts the number of 1s in each byte in a list. The LIST_IN starts at $C100

  Analog measurements

Prepare an assembly program for the correctly measures the wind direction

  Write two arm assembly language subroutines

Write two ARM assembly language subroutines, called output_char and read_char.

  Pseudo-code in assembly language

Implement the following pseudo-code in assembly language (assume unsigned numbers). Declare Apple and Pear as byte sized variables.

  How many instructions are executed

describe in one sentence what it computes. Suppose that $a0 and $a1 are used for the input and both initially contain the integers a and b, respectively. Suppose that $v0 is used for the output.

  It has three integer parameters, and it is a value-returning

That is, its name is discr , it has three integer parameters, and it is a value-returning procedure.Follow the cdecl protocol and write a short windows32 test-driver program to test the procedure.

  Nonrecursive factorialwrite a nonrecursive version of the

nonrecursive factorialwrite a nonrecursive version of the factorial procedure that uses a loop. a wdeonote for this

  Program for huffman compression/decompression

Write a program for Huffman compression/decompression in assembly language that takes the data from input.txt and writes the output in output.txt.

  Write a mips assembly language program

Write a MIPS assembly language program that prompts for a user to enter a series of floating point numbers and calls read_float to read in numbers and store them in an array. Then the program should display the array content on the console window. Th..

  Part a clockuse a timer interrupt to design a simple

part a clockuse a timer interrupt to design a simple digital clock. this clock will count only minutes and seconds

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd