

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Write an Assembly Program in MASM to implement a simulation of an ATM system, having a total of 5 users (account holders), the system permits its users to access the system through an authenticated password (which is issued to every user) and provides to every user the following services (options):
Check balance of user account When the user selects the third option the system should display total amount of the corresponding user account. After using any of the services described above the display should again return back to the list of the services. Return to login screen When the user selects the fourth option the system should return to the login screen. The display for all options or services provided by the system must be center aligned with respect to the current screen. Also they should possess some legible foreground and background color. Your program should also include a file called “bank.inc” which includes passwords for all account holders, their initial account balance, the rate of interest for individual accounts, date (in mm/dd/yyyy format) at which individual accounts were created. An example of the format of such a file is given as: password1 equ “abc123” password2 equ “xyz123” password3 equ “abcdef” password4 equ “678eabc” password5 equ hi amount1 equ 100000 amount2 equ 200000 amount3 equ 300000 amount4 equ 150000 amount5 equ 250000 rate1 equ 2 rate2 equ 3 rate3 equ 5 rate4 equ 6 rate5 equ 8 date1 equ 06121997 date1 equ 07101998 date1 equ 06111999 date1 equ 06092000 date1 equ 06212002 The contents of file “bank.inc” password1, amount1, rate1, date1 are variables that represent various parameters of a single account, say account 1, similarly password2,