x86 instructions

This is a discussion on x86 instructions within the ASM x86 ASM 370 forums in Programming Languages category; Hello. Where can i find detailed information about 8086(or other processors) instruction and how flags works. I read intel manuals, but didn't find that i want. Because i am trying to implement simple emulator of 8086(my hobby). I found one page about 6502: http://nesdev.parodius.com/6502.txt . This page is very detailed. I am looking something for x86. Actually i know how instructions works, but still i have big gap how flags works and how to implement even simple adc instruction without any mistakes. Thank you...

Go Back   Application Development Forum > Programming Languages > ASM x86 ASM 370

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-02-2008, 11:59 PM
kestas.rutkauskas
Guest
 
Default x86 instructions

Hello. Where can i find detailed information about 8086(or other
processors) instruction and how flags works. I read intel manuals, but
didn't find that i want. Because i am trying to implement simple
emulator of 8086(my hobby).

I found one page about 6502: http://nesdev.parodius.com/6502.txt .
This page is very detailed. I am looking something for x86. Actually i
know how instructions works, but still i have big gap how flags works
and how to implement even simple adc instruction without any mistakes.

Thank you

Reply With Quote
  #2  
Old 09-03-2008, 07:12 AM
Bartc
Guest
 
Default Re: x86 instructions


"kestas.rutkauskas" <spamtrap@crayne.org> wrote in message
news:4db637d3-d819-4c50-b99a-9fadf0787650@2g2000hsn.googlegroups.com...
> Hello. Where can i find detailed information about 8086(or other
> processors) instruction and how flags works. I read intel manuals, but
> didn't find that i want. Because i am trying to implement simple
> emulator of 8086(my hobby).
>
> I found one page about 6502: http://nesdev.parodius.com/6502.txt .
> This page is very detailed. I am looking something for x86. Actually i
> know how instructions works, but still i have big gap how flags works
> and how to implement even simple adc instruction without any mistakes.


The current online Intel manuals are overwhelming.

When I worked on 8086/etc years ago I found the paper datasheets very easy
to work with.

An example for 8086 is here:
http://www.micro.deis.unibo.it/~iafe.../intel8086.pdf

All the instruction details are in the last 4 pages.

--
Bartc

Reply With Quote
  #3  
Old 09-03-2008, 08:06 AM
Wolfgang Kern
Guest
 
Default Re: x86 instructions


kestas.rutkauskas asked:

> Hello. Where can i find detailed information about 8086(or other
> processors) instruction and how flags works. I read intel manuals, but
> didn't find that i want. Because i am trying to implement simple
> emulator of 8086(my hobby).


> I found one page about 6502: http://nesdev.parodius.com/6502.txt .
> This page is very detailed. I am looking something for x86. Actually i
> know how instructions works, but still i have big gap how flags works
> and how to implement even simple adc instruction without any mistakes.


The best source I found on this matter is:

AMD64 24594.pdf Appendix E 'Instruction Effects on RFlags' (Sep/2003)

There might be newer documents available yet, but this few pages
may be still valid for 32-bit AMDs and also for Intel CPUs (+586).

__
wolfgang

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 02:19 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.