Hey, our project was to write an assembley language program coding a vending machine. I've wrote the program till the end but I'm stuck on last part now.
My options are displaying correctly in the tasm and everything is being added correctly too, its confusing and so am I, so basically the whole idea is the program to display the choices and the user will press letter for the amount e.g nickle is "n" so when the user presses n it will deposit 5 cents.
After depositing the amount by pessing the right keys user has to select the choice, lays, cookies and e.t.c they do it by pressing the appropriate letter,
Can someone help me finish the program?
I just need help with the SUB labels, the SELW SELK e.t.c labels, I dont know how to finish them.
Here is my code.
I'm pretty sure I didnt make sense for the most part but if you run it in turbo assembler you would know what I'm talking about.
I just want to finish the program in a way when user selects their choice after depositing money it either dispenses the item or tells them to add more money.
I saved the files in .txt instead of asm because it wont let me upload the file.
p.s the program has to be in turbo assembler. I'm a total nub.