opcode-projects/80286/References/Table-B1-Revised

103 lines
3.7 KiB
Plaintext

Using This Table
When you use an opcode, and it uses a byte from this table, it will always do an A to B or B to A operation.
A is on the top.
It is selected by the column.
B is on the right side.
It is selected by the row.
A and B are separated into four sections (§).
The opcode will tell you whether it is modifying
- A to B, or
- B to A.
It might also
- only use B.
In that case,
- ignore the contents of A.
It will provide you with an explicit source.
It will also tell you whether A is a
- Byte,
- Word, or
- Segment.
It will also tell you if B points to a
- Byte, or a
- Word.
The purpose of the table is to tell you where data is coming from and going to, based on the byte you select and the opcode used.
All you need to know is:
whether the data is a byte or word,
and if the opcode only uses B with an explicit source/destination.
TABLE B-1 REVISED (B-1r)
A § 1
AL CL DL BL AH CH DH BH Byte Byte to/from B
AX CX DX BX SP BP SI DI Word Word to/from B
ES CS SS DS -- -- -- -- Segment Word to/from B
__________________________
0 1 2 3
0 8 0 8 0 8 0 8
00 08 10 18 20 28 30 38 | Mem: BX+SI |
01 09 11 19 21 29 31 39 | Mem: BX+DI |
02 0A 12 1A 22 2A 32 3A | Mem: BP+SI |
03 0B 13 1B 23 2B 33 3B | Mem: BP+DI | B § 1
04 0C 14 1C 24 2C 34 3C | Mem: SI |
05 0D 15 1D 25 2D 35 3D | Mem: DI |
06 0E 16 1E 26 2E 36 3E | Mem: inline word |
07 0F 17 1F 27 2F 37 3F | Mem: BX |
7 F 7 F 7 F 7 F
A § 2
4 5 6 7
0 8 0 8 0 8 0 8
40 48 50 58 60 68 70 78 | Mem: B § 1+inline signed byte |
41 49 51 59 61 69 71 79 | |
42 4A 52 5A 62 6A 72 7A | |
43 4B 53 5B 63 6B 73 7B | | B § 2
44 4C 54 5C 64 6C 74 7C | ... |
45 4D 55 5D 65 6D 75 7D | |
46 4E 56 5E 66 6E 76 7E | Mem: BP + inline signed byte |
47 4F 57 5F 67 6F 77 7F | |
7 F 7 F 7 F 7 F
A § 3
8 9 A B
0 8 0 8 0 8 0 8
80 88 90 18 A0 A8 B0 B8 | Mem: B § 1+inline signed word |
81 89 91 19 A1 A9 B1 B9 | |
82 8A 92 1A A2 AA B2 BA | |
83 8B 93 1B A3 AB B3 BB | |
84 8C 94 1C A4 AC B4 BC | | B § 3
85 8D 95 1D A5 AD B5 BD | ... |
86 8E 96 1E A6 AE B6 BE | Mem: B § 2+inline signed word |
87 8F 97 1F A7 AF B7 BF | |
7 F 7 F 7 F 7 F
A § 4
C D E F Byte Word
0 8 0 8 0 8 0 8
C0 C8 D0 D8 E0 E8 F0 F8 | AL AX |
C1 C9 D1 D9 E1 E9 F1 F9 | CL CX |
C2 CA D2 DA E2 EA F2 FA | DL DX |
C3 CB D3 DB E3 EB F3 FB | BL BX |
C4 CC D4 DC E4 EC F4 FC | AH SP | B § 4
C5 CD D5 DD E5 ED F5 FD | CH BP |
C6 CE D6 DE E6 EE F6 FE | DH SI |
C7 CF D7 DF E7 EF F7 FF | BH DI |
7 F 7 F 7 F 7 F