flat assembler
Message board for the users of flat assembler.
Index
> DOS > [found] Good 8086 instruction reference? Goto page 1, 2 Next |
Author |
|
revolution 04 May 2020, 06:40
I typed "8086.pdf" including the quotes into my search engine.
The first hit is this: https://www.datasheet4u.com/datasheet-parts/8086-datasheet.php?id=544568 I didn't download it. But I see it is an Intel manual. |
|||
04 May 2020, 06:40 |
|
Tomasz Grysztar 04 May 2020, 09:05
Bitsavers' archive has the original books from Intel: http://bitsavers.trailing-edge.com/components/intel/8086/
It's a really nice archive full of goodies, I've been using the 80286 portions of their archive in my 16-bit protected mode live tutorial sessions. Rahsennor wrote: I've still got RBIL, but it doesn't cover the instruction set (...) |
|||
04 May 2020, 09:05 |
|
Rahsennor 05 May 2020, 03:24
Well no wonder I've been having trouble... none of those links work for me! Thank goodness for archive.org.
revolution wrote: I typed "8086.pdf" including the quotes into my search engine. Tomasz Grysztar wrote: Bitsavers' archive has the original books from Intel: http://bitsavers.trailing-edge.com/components/intel/8086/ Tomasz Grysztar wrote: RBIL contains OPCODES.LST, which was a really good resource at the time, and in fact it was the main document I used when writing early versions of fasm. Oh well, I have nearly everything else at least. Time to start compiling a table... |
|||
05 May 2020, 03:24 |
|
revolution 05 May 2020, 03:38
For the details on the flags those will still be valid from all later CPU docs.
For the cycle counts that is specific to the chip you have in your machine. IIRC some of the CMOS chips had different timings to the HMOS chips. For those old chips you can quite easily manually measure the cycle counts. They don't have all the other things like caches, buffers, OOO, etc. to affect the readings. |
|||
05 May 2020, 03:38 |
|
sinsi 05 May 2020, 05:25
I remember the Norton Guides, maybe this can help
http://x-hacker.org/ng/ http://www.x-hacker.org/ng/iapx86/index.html |
|||
05 May 2020, 05:25 |
|
Rahsennor 07 May 2020, 10:10
sinsi wrote: I remember the Norton Guides, maybe this can help |
|||
07 May 2020, 10:10 |
|
Rahsennor 10 May 2020, 08:39
So many inconsistencies and omissions... the only thing that bugs me more than buggy software is buggy documentation! The hunt for accurate reference material continues.
Anyway, I've put too much work into this to keep it to myself so here it is. Some extra pairs of eyes on it would be appreciated. Otherwise I just hope it's useful to someone.
|
|||||||||||
10 May 2020, 08:39 |
|
Ali.Z 10 May 2020, 15:22
i probably missed this post, anyhow im building my 8086 and 8087 assembler and disassembler based on these documents.
i couldnt upload them here im not sure why, the 3rd-party file hosting will automatically delete the uploaded files after 1 week; so i hope you can get them before that date: https://filebin.net/d3l1tl5r1ih9nkb7 _________________ Asm For Wise Humans |
|||
10 May 2020, 15:22 |
|
Rahsennor 11 May 2020, 04:11
Fantastic! Thank you so much! Hopefully that should be the last word.
|
|||
11 May 2020, 04:11 |
|
guignol 11 May 2020, 07:27
|
|||
11 May 2020, 07:27 |
|
Tomasz Grysztar 11 May 2020, 09:07
Ali.Z wrote: i probably missed this post, anyhow im building my 8086 and 8087 assembler and disassembler based on these documents. Interesting that Bitsaver's URL seems to be not working for everyone. Is their server blocked in some areas? |
|||
11 May 2020, 09:07 |
|
Ali.Z 11 May 2020, 17:27
i dont think its blocked, but i tried multiple times to access it and the browser suggested that the server might not be responding.
i finally was able to connect to their server, its great i have 4 of their documents so i guess i will download the other missing stuff. nice share, os2museum (Michal Necasek) had hosted a list of intel sdm that he collected over 20years. the link is dead, and web.archive.org is blocked in my country. the link: http://kib.kiev.ua/x86docs/SDMs/ its a heavy archive, you need gigs of disk space. _________________ Asm For Wise Humans |
|||
11 May 2020, 17:27 |
|
Tomasz Grysztar 11 May 2020, 17:37
Yeah, I've been recommending that one, too. Too bad it is dead now.
|
|||
11 May 2020, 17:37 |
|
Rahsennor 12 May 2020, 08:33
The number of broken links I've turned up while looking for this stuff is definitely making me think there's some kind of blocking going on. Maybe they're on some kind of piracy blacklist? I haven't been game to try any tricks, just in case someone is watching...
BTW, I've found two errors in the 8086 Family Users Manual already (AAM is listed as one byte, TEST mem, imm as performing zero memory transfers)... and funnily enough they're also in Norton Guides. Guess which reference they must have used. |
|||
12 May 2020, 08:33 |
|
sinsi 12 May 2020, 09:10
|
|||
12 May 2020, 09:10 |
|
Tomasz Grysztar 12 May 2020, 10:27
Rahsennor wrote: BTW, I've found two errors in the 8086 Family Users Manual already (AAM is listed as one byte, TEST mem, imm as performing zero memory transfers)... and funnily enough they're also in Norton Guides. Guess which reference they must have used. It's really frustrating that Bitsavers' archive is not working for you, it's such an excellent historical resource. They also have several mirrors: http://bitsavers.org/ http://bitsavers.computerhistory.org http://bitsavers.informatik.uni-stuttgart.de http://bitsavers.trailing-edge.com http://www.bighole.nl They have hundreds documents, and they are all searchable (have been passed through OCR), which another big plus. The 1985 one I mentioned is at http://bitsavers.org/components/intel/8086/210912-001_iAPX_86_88_186_188_Users_Manual_1985.pdf (you can try the same path at different mirrors). |
|||
12 May 2020, 10:27 |
|
Ali.Z 12 May 2020, 18:16
AAM is not listed as 1 byte, if you look carefully at instruction decoding: see page 176.
_________________ Asm For Wise Humans |
||||||||||
12 May 2020, 18:16 |
|
Ali.Z 12 May 2020, 18:40
if you really want to hunt their mistake, then see page 166: (encoding)
the figure says it takes a displacement which is not true. but they already mentioned earlier at page 162 that the disp is optional and the MOD indicates if present. and when we take a look at the 2nd byte 0Ah it says mod is 0 so no disp which it means it have no operands. you cant completely rely on either the instruction encoding pages or decoding pages, you have to switch between them and read multiple times to figur out the right opcode bytes and whether it takes operands or not. that what confused me a lot when i started to write both the disassembler and assembler, they say correct thing in one place and incorrect at another place.
_________________ Asm For Wise Humans |
|||||||||||||||||||
12 May 2020, 18:40 |
|
Ali.Z 12 May 2020, 20:08
Rahsennor wrote: TEST mem, imm as performing zero memory transfers i did not understand what you meant by this, would you explain? also specify the size of the operation. _________________ Asm For Wise Humans |
|||
12 May 2020, 20:08 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.