- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
(Sorry if I posted this in the wrong place, I couldnt find a better place to post this).
(Sorry if I posted this in the wrong place, I couldnt find a better place to post this).
Iam working on a x86 emulator written in JavaScript, and I would like to have some tests on this emulator to make sure the validity of the results for instructions. Does anyone know if there is a set of instructions that checks the instructions for correctness with the x86 standard?
Thanks.
Thanks.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Processor will throwinvalid opcode exception.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are no such instructions.
You can try coding your emulator based on instruction behavior description available in Intel documentation, or you could try writing a test case for the emulation of each instruction and verify the results by executing the same instruction on the CPU (that would require a lot of work though).
You can try coding your emulator based on instruction behavior description available in Intel documentation, or you could try writing a test case for the emulation of each instruction and verify the results by executing the same instruction on the CPU (that would require a lot of work though).
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page