Re: CPU simulator written in C
From: Dan Pop (Dan.Pop_at_cern.ch)
Date: 06/23/04
- Previous message: Richard Bos: "Re: English language question"
- In reply to: /* frank */: "CPU simulator written in C"
- Next in thread: Thomas Matthews: "Re: CPU simulator written in C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Jun 2004 12:52:40 GMT
In <2jsitqF151a28U1@uni-berlin.de> /* frank */ <__frank__@despammed.com> writes:
>I have to do a homework: make a CPU simulator using C language.
Well, C is particularly suitable for such an exercise.
>I have a set of asm instructions so I have to write a program
>that should:
>- load .asm file
>- view .asm file
>- do a step by step simulation
>- display registers contents
>
>I tried to search con google with no success.
>
>Any help (links, tricks/tips...)
>would be really appreciated.
Apart from being lazy, you're also stupid if you can expect any help
without specifying the CPU being emulated and the format of the .asm
files. I hope they're containing machine code and not assembly code,
because assemblying the code is, by far, the most difficult part of the
exercise.
Anyway, you can't expect any help until you describe your design and
ask very specific questions about its implementation.
Dan
-- Dan Pop DESY Zeuthen, RZ group Email: Dan.Pop@ifh.de
- Previous message: Richard Bos: "Re: English language question"
- In reply to: /* frank */: "CPU simulator written in C"
- Next in thread: Thomas Matthews: "Re: CPU simulator written in C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|