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

"Stanislav" <[email protected]> Sat, 15 Jun 2013 20:19:11 +0300
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
There are many ways to write a program with an assembly instruction.

 

Stanislav

 

From: 朱朱乐乐 [mailto:[email protected]] 
Sent: Saturday, June 15, 2013 3:55 PM
To: Stanislav
Cc: [email protected]
Subject: Re: [Bochs-developers] Is it possible if I want to add an assembly instruction or alternate the function of an assembly instruction?

 

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