Re: Is it possible if I want to add an assembly instruction or alternate the function of an assembly instruction?

朱朱乐乐 <[email protected]> Sat, 15 Jun 2013 20:54:42 +0800
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <CALnEfMtJ0J5-8dpMc-U_oUrtneiRP4VJ5WfG89gtDd_FN_HtTw@mail.gmail.com>
Thanks for your patience.
I find it easy to add an assembly instruction in bochs, but how to test it
?  Or you just program in C with function like 【asm(mov a b)】?



2013/6/15 Stanislav <[email protected]>

> **Ø  **Since Bochs has provided different models like intel i7 or amd, I
> am wondering what's the difference since they are all executing  the same
> assembly instructions.****
>
> **Ø  **As far as I see the only difference is the difference of ips.****
>
> ** **
>
> Wrong, the probably change at all. The main difference is the features
> supported by CPU which expressed to software through different CPUID and
> MSR registers.****
>
> This will most likely result in different assembly code to be executed.***
> *
>
> ** **
>
> **Ø  **Is it possible if I want to add an assembly instruction or
> alternate the function of an assembly instruction?****
>
> ** **
>
> To modify some Bochs instruction or add new one is the simplest exercise
> on Bochs I always had given to students as homework …****
>
> ** **
>
> Stanislav****
>
> ** **
>
> *From:* 朱朱乐乐 [mailto:[email protected]]
> *Sent:* Saturday, June 15, 2013 5:08 AM
> *To:* [email protected]
> *Subject:* [Bochs-developers] Is it possible if I want to add an assembly
> instruction or alternate the function of an assembly instruction?****
>
> ** **
>
> 1. MY FIRST QUESTION****
>
> ** **
>
> Since Bochs has provided different models like intel i7 or amd, I am
> wondering what's the difference since they are all executing  the same
> assembly instructions.****
>
> ** **
>
> As far as I see the only difference is the difference of ips.****
>
> ** **
>
> 2. MY SECOND QUESTION****
>
> ** **
>
> Is it possible if I want to add an assembly instruction or alternate the
> function of an assembly instruction?****
>
> ** **
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers