Using GUI Turbo Assembler, program using assembly language in real mode, the simulation of an ATM that displays a receipt with the breakdown of the amounts of bills, for a specific amount requested by the client. The user interface is programmed via direct access to the BIOS using the INT 10H interrupt for display; the INT 16H for the input of data. First, the customer is asked for the number of colones to be dispensed by the ATM. This amount is an integer greater than zero and less than sixty thousand (there are only bills for 1.000 , 2.000 , 5.000 , 10.000 and 20.000 colones). This screen gives you the option to end the program, or continue. On the second screen, the ATM shows a receipt in table format, containing the breakdown with as few nominations as possible, differentiating the bills with different colors. For example, if the user requests that the ATM dispenses 41.000 colones, the breakdown consists of two 20.000 bills and one 1.000 bill. Then it returns to the first screen, where it allows the user to re-enter a new amount, or end the program
Using GUI Turbo Assembler,
Step by step
Solved in 3 steps