ASM bulletin board

Reply

Join Date: Jan 2008
Posts: 4
Reputation: matiman is an unknown quantity at this point 
Solved Threads: 0
matiman matiman is offline Offline
Newbie Poster

ASM bulletin board

 
0
  #1
Jan 17th, 2008
Hi ppl...i'm having problems in my assignment....
what i need to do is create a bulletin-board program on ASM that does the following:
I "some string" - inputs string into bulletin board
D number - deletes the specific string from the board
V - prints out all the string that are stored insided

thank you for your help
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: ASM bulletin board

 
0
  #2
Jan 17th, 2008
You've given us a list of your requirements, not a list of your problems.

An example.
Here is my code. It adds and prints just fine. But it always deletes the entry after the one I requested to be deleted (deleting 2 ends up deleting 3 for example).

http://www.daniweb.com/forums/announcement125-2.html
http://www.daniweb.com/forums/announcement125-3.html

So post your own code and a question or two about it.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 4
Reputation: matiman is an unknown quantity at this point 
Solved Threads: 0
matiman matiman is offline Offline
Newbie Poster

Re: ASM bulletin board

 
0
  #3
Jan 19th, 2008
Yep,sorry about that, since this is my first post i am un aware of the points youve made so.....
anyhow, i've managed to make my code insert strings and view them , by pushing char by char into the stack, following that i push a variable holding the length of the string.
then when i view them i start with the BP already on the string length part of the stack, subtract it, etc....
i am really stuck when it comes to deleting strings the i've pushed already into the stack, is there any way of doing this?
btw:this is not embedded code.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: ASM bulletin board

 
0
  #4
Jan 20th, 2008
You're using the main program stack to store all the strings?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC