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

  Create a assembly language subroutine

Create a assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n words and array C containing n long words

  Write a function in linux assembly

Write a function in Linux assembly

  Analog measurements

Prepare an assembly program for the correctly measures the wind direction

  Design a simple digital clock

Design a simple digital clock

  Write an assembly program

Prepare an Assembly program that reads in a number of cents.

  Write an assembly language program

Write an assembly language program for encrypting alphabates of a string

  Greatest common divisor of integers-masm assembly language

Must be done in MASM assembly language: Greatest common divisor of two integers is largest integer which will evenly divide both integers. GCD algorithm involves integer division in a loop.

  Write assembly program-find right admission price to movie

Write the Assembly program to find correct admission price to movie. Price of admission to a movie is $7 for kids (under 12) and $9 for adults.

  Create simple 8-bit alu using add-subtract-shift functions

Create a simple 8-bit ALU. Requirements:The eight functions that you will implement are: add, subtract, and, or, shift left logical, less than, shift right logical.

  Write assembly program print binary representation-integers

Write the assembly program called hw6_ex1, stored in file hw6_ex1.asm. This program must prompt user to enter signed 32-bit integer. Program must print out binary representation of the integer.

  Allot op-codes and add microcode to microprogram

Allot op-codes and add microcode to microprogram of Mic-1 to implement following instructions which are then included with IJVM instruction set.

  Write mips assembly program to read two non-negative numbers

Write MIPS assembly program to repeatedly read two non-negative integers and print integer product and quotient without using multiplication and division instructions.

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