Current location: Hot Scripts Forums » Programming Languages » Other Languages » Vending Machine in Assembley Language.


Vending Machine in Assembley Language.

Reply
  #1 (permalink)  
Old 04-24-09, 12:02 PM
zee3b zee3b is offline
New Member
 
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Vending Machine in Assembley Language.

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.
Attached Files
File Type: txt project.txt (4.7 KB, 544 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-07-09, 10:44 PM
dgreenhouse's Avatar
dgreenhouse dgreenhouse is offline
Aspiring Coder
 
Join Date: Mar 2009
Location: San Francisco
Posts: 457
Thanks: 0
Thanked 3 Times in 3 Posts
That's got to really hurt! Wow... Haven't done assembler in years - used to love it!

Unfortunately, someone else will have to help. Good luck!

Your code looks pretty clean though...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change language of content according to country priyam ASP 1 10-25-08 10:30 AM
Select language zitwep PHP 3 01-01-06 01:48 PM
Multiple language support in PHP - best method? harlock PHP 2 08-11-05 04:19 AM
Upload .xls file from client's machine to SQL Server table bubberz ASP.NET 0 08-09-05 03:40 PM
Question on language files rozojc PHP 4 11-08-03 08:40 AM


All times are GMT -5. The time now is 01:33 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.