Thread: Help!

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    1

    Help!

    I am trying to create a simple virtual machine that is capable of taking an input file containing machine code and convert this to a program in the machine's simulated memory and finally executing the program. So far I have created a header file that includes macro's to represent the different assembly language prompts and i need to create a hash table in order to make text replacement easier. I am stuck and need some guidance on where to start.

    Any help is greatly appreciated.

    N

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    First, create a hash table. Go on, it's easy. Post your code, point out what you're stuck on, all that good stuff. No, keep your pointless headers and such out of it. Just make a program that builds a hash table, inserts, retrieves, etc.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    You'd think someone capable of doing all that would come up with a better topic title than "Help!"

    Though I can't see what the 2nd part of the question has to do with the first part of the question.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed