Please support our Assembly advertiser: Programming Forums
![]() |
•
•
Join Date: Jan 2008
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
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.
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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
•
•
Join Date: Jan 2008
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
![]() |
Similar Threads
Other Threads in the Assembly Forum
- Programming FAQ - Updated 1/March/2005 (Computer Science)
Other Threads in the Assembly Forum
- Previous Thread: error... 99=9
- Next Thread: Verifying DMI Pool Data
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode