OpenCores
URL https://opencores.org/ocsvn/s80186/s80186/trunk

Subversion Repositories s80186

[/] [s80186/] [trunk/] [documentation/] [instructions.yaml] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jamieiles
add:
2
    flags:
3
     O: M
4
     S: M
5
     Z: M
6
     A: M
7
     C: M
8
     P: M
9
    encodings:
10
    - opcode: 0x00
11
      operands: [Eb, Gb]
12
    - opcode: 0x01
13
      operands: [Ew, Gw]
14
    - opcode: 0x02
15
      operands: [Gb, Eb]
16
    - opcode: 0x03
17
      operands: [Gw, Ew]
18
    - opcode: 0x04
19
      operands: [AL, Ib]
20
    - opcode: 0x05
21
      operands: [AX, Iw]
22
    - opcode: 0x80
23
      operands: [Eb, Ib]
24
      reg: 0
25
    - opcode: 0x81
26
      operands: [Ew, Iw]
27
      reg: 0
28
    - opcode: 0x82
29
      operands: [Eb, Ib]
30
      reg: 0
31
    - opcode: 0x83
32
      operands: [Ew, Ib]
33
      reg: 0
34
adc:
35
    flags:
36
     O: M
37
     S: M
38
     Z: M
39
     A: M
40
     C: M
41
     P: M
42
    encodings:
43
    - opcode: 0x10
44
      operands: [Eb, Gb]
45
    - opcode: 0x11
46
      operands: [Ew, Gw]
47
    - opcode: 0x12
48
      operands: [Gb, Eb]
49
    - opcode: 0x13
50
      operands: [Gw, Ew]
51
    - opcode: 0x14
52
      operands: [AL, Ib]
53
    - opcode: 0x15
54
      operands: [AX, Iw]
55
    - opcode: 0x80
56
      operands: [Eb, Ib]
57
      reg: 2
58
    - opcode: 0x81
59
      operands: [Ew, Iw]
60
      reg: 2
61
    - opcode: 0x82
62
      operands: [Eb, Ib]
63
      reg: 2
64
    - opcode: 0x83
65
      operands: [Ew, Ib]
66
      reg: 2
67
sub:
68
    flags:
69
     O: M
70
     S: M
71
     Z: M
72
     A: M
73
     C: M
74
     P: M
75
    encodings:
76
    - opcode: 0x28
77
      operands: [Eb, Gb]
78
    - opcode: 0x29
79
      operands: [Ew, Gw]
80
    - opcode: 0x2a
81
      operands: [Gb, Eb]
82
    - opcode: 0x2b
83
      operands: [Gw, Ew]
84
    - opcode: 0x2c
85
      operands: [AL, Ib]
86
    - opcode: 0x2d
87
      operands: [AX, Iw]
88
    - opcode: 0x80
89
      operands: [Eb, Ib]
90
      reg: 5
91
    - opcode: 0x81
92
      operands: [Ew, Iw]
93
      reg: 5
94
    - opcode: 0x82
95
      operands: [Eb, Ib]
96
      reg: 5
97
    - opcode: 0x83
98
      operands: [Ew, Ib]
99
      reg: 5
100
sbb:
101
    flags:
102
     O: M
103
     S: M
104
     Z: M
105
     A: M
106
     C: M
107
     P: M
108
    encodings:
109
    - opcode: 0x18
110
      operands: [Eb, Gb]
111
    - opcode: 0x19
112
      operands: [Ew, Gw]
113
    - opcode: 0x1a
114
      operands: [Gb, Eb]
115
    - opcode: 0x1b
116
      operands: [Gw, Ew]
117
    - opcode: 0x1c
118
      operands: [AL, Ib]
119
    - opcode: 0x1d
120
      operands: [AX, Iw]
121
    - opcode: 0x80
122
      operands: [Eb, Ib]
123
      reg: 3
124
    - opcode: 0x81
125
      operands: [Ew, Iw]
126
      reg: 3
127
    - opcode: 0x82
128
      operands: [Eb, Ib]
129
      reg: 3
130
    - opcode: 0x83
131
      operands: [Ew, Ib]
132
      reg: 3
133
and:
134
    flags:
135
     O: M
136
     S: M
137
     Z: M
138
     C: M
139
     P: M
140
    encodings:
141
    - opcode: 0x20
142
      operands: [Eb, Gb]
143
    - opcode: 0x21
144
      operands: [Ew, Gw]
145
    - opcode: 0x22
146
      operands: [Gb, Eb]
147
    - opcode: 0x23
148
      operands: [Gw, Ew]
149
    - opcode: 0x24
150
      operands: [AL, Ib]
151
    - opcode: 0x25
152
      operands: [AX, Iw]
153
    - opcode: 0x80
154
      operands: [Eb, Ib]
155
      reg: 4
156
    - opcode: 0x81
157
      operands: [Ew, Iw]
158
      reg: 4
159
    - opcode: 0x82
160
      operands: [Eb, Ib]
161
      reg: 4
162
    - opcode: 0x83
163
      operands: [Ew, Ib]
164
      reg: 4
165
test:
166
    flags:
167
     O: M
168
     S: M
169
     Z: M
170
     C: M
171
     P: M
172
    encodings:
173
    - opcode: 0x84
174
      operands: [Gb, Eb]
175
    - opcode: 0x85
176
      operands: [Gw, Ew]
177
    - opcode: 0xa8
178
      operands: [AL, Ib]
179
    - opcode: 0xa9
180
      operands: [AX, Iw]
181
    - opcode: 0xf6
182
      operands: [Eb, Ib]
183
      reg: 0
184
    - opcode: 0xf6
185
      operands: [Eb, Ib]
186
      reg: 1
187
    - opcode: 0xf7
188
      operands: [Ew, Iw]
189
      reg: 0
190
    - opcode: 0xf7
191
      operands: [Ew, Iw]
192
      reg: 1
193
neg:
194
    flags:
195
     O: M
196
     S: M
197
     Z: M
198
     C: M
199
     P: M
200
     A: M
201
    encodings:
202
    - opcode: 0xf6
203
      operands: [Eb, Ib]
204
      reg: 3
205
    - opcode: 0xf7
206
      operands: [Ew, Iw]
207
      reg: 3
208
not:
209
    flags:
210
     O: M
211
     S: M
212
     Z: M
213
     C: M
214
     P: M
215
     A: M
216
    encodings:
217
    - opcode: 0xf6
218
      operands: [Eb, Ib]
219
      reg: 2
220
    - opcode: 0xf7
221
      operands: [Ew, Iw]
222
      reg: 2
223
or:
224
    flags:
225
     O: M
226
     S: M
227
     Z: M
228
     C: M
229
     P: M
230
    encodings:
231
    - opcode: 0x08
232
      operands: [Eb, Gb]
233
    - opcode: 0x09
234
      operands: [Ew, Gw]
235
    - opcode: 0x0a
236
      operands: [Gb, Eb]
237
    - opcode: 0x0b
238
      operands: [Gw, Ew]
239
    - opcode: 0x0c
240
      operands: [AL, Ib]
241
    - opcode: 0x0d
242
      operands: [AX, Iw]
243
    - opcode: 0x80
244
      operands: [Eb, Ib]
245
      reg: 1
246
    - opcode: 0x81
247
      operands: [Ew, Iw]
248
      reg: 1
249
    - opcode: 0x82
250
      operands: [Eb, Ib]
251
      reg: 1
252
    - opcode: 0x83
253
      operands: [Ew, Ib]
254
      reg: 1
255
xor:
256
    flags:
257
     O: M
258
     S: M
259
     Z: M
260
     C: M
261
     P: M
262
    encodings:
263
    - opcode: 0x30
264
      operands: [Eb, Gb]
265
    - opcode: 0x31
266
      operands: [Ew, Gw]
267
    - opcode: 0x32
268
      operands: [Gb, Eb]
269
    - opcode: 0x33
270
      operands: [Gw, Ew]
271
    - opcode: 0x34
272
      operands: [AL, Ib]
273
    - opcode: 0x35
274
      operands: [AX, Iw]
275
    - opcode: 0x80
276
      operands: [Eb, Ib]
277
      reg: 6
278
    - opcode: 0x81
279
      operands: [Ew, Iw]
280
      reg: 6
281
    - opcode: 0x82
282
      operands: [Eb, Ib]
283
      reg: 6
284
    - opcode: 0x83
285
      operands: [Ew, Ib]
286
      reg: 6
287
cmp:
288
    flags:
289
     O: M
290
     S: M
291
     Z: M
292
     A: M
293
     C: M
294
     P: M
295
    encodings:
296
    - opcode: 0x38
297
      operands: [Eb, Gb]
298
    - opcode: 0x39
299
      operands: [Ew, Gw]
300
    - opcode: 0x3a
301
      operands: [Gb, Eb]
302
    - opcode: 0x3b
303
      operands: [Gw, Ew]
304
    - opcode: 0x3c
305
      operands: [AL, Ib]
306
    - opcode: 0x3d
307
      operands: [AX, Iw]
308
    - opcode: 0x80
309
      operands: [Eb, Ib]
310
      reg: 7
311
    - opcode: 0x81
312
      operands: [Ew, Iw]
313
      reg: 7
314
    - opcode: 0x82
315
      operands: [Eb, Ib]
316
      reg: 7
317
    - opcode: 0x83
318
      operands: [Ew, Ib]
319
      reg: 7
320
nop:
321
    encodings:
322
    - opcode: 0x90
323
pop:
324
    encodings:
325
    - opcode: 0x58
326
      operands: [AX]
327
    - opcode: 0x59
328
      operands: [CX]
329
    - opcode: 0x5a
330
      operands: [DX]
331
    - opcode: 0x5b
332
      operands: [BX]
333
    - opcode: 0x5c
334
      operands: [SP]
335
    - opcode: 0x5d
336
      operands: [BP]
337
    - opcode: 0x5e
338
      operands: [SI]
339
    - opcode: 0x5f
340
      operands: [DI]
341
    - opcode: 0x07
342
      operands: [ES]
343
    - opcode: 0x17
344
      operands: [SS]
345
    - opcode: 0x1f
346
      operands: [DS]
347
    - opcode: 0x8f
348
      operands: [Ew]
349
popf:
350
    flags:
351
     O: M
352
     S: M
353
     Z: M
354
     A: M
355
     C: M
356
     P: M
357
     T: M
358
     I: M
359
     D: M
360
    encodings:
361
    - opcode: 0x9d
362
push:
363
    encodings:
364
    - opcode: 0xff
365
      reg: 6
366
      operands: [Ew]
367
    - opcode: 0x06
368
      operands: [ES]
369
    - opcode: 0x0e
370
      operands: [CS]
371
    - opcode: 0x16
372
      operands: [SS]
373
    - opcode: 0x1e
374
      operands: [DS]
375
    - opcode: 0x50
376
      operands: [AX]
377
    - opcode: 0x51
378
      operands: [CX]
379
    - opcode: 0x52
380
      operands: [DX]
381
    - opcode: 0x53
382
      operands: [BX]
383
    - opcode: 0x54
384
      operands: [SP]
385
    - opcode: 0x55
386
      operands: [BP]
387
    - opcode: 0x56
388
      operands: [SI]
389
    - opcode: 0x57
390
      operands: [DI]
391
    - opcode: 0x68
392
      operands: [Iw]
393
    - opcode: 0x6a
394
      operands: [Ib]
395
    notes:
396
    - The core implements the original 8086/80186 behaviour of pushing the
397
      decremented value of SP in a 'push sp' instruction rather than the
398
      original value.
399
pushf:
400
    encodings:
401
    - opcode: 0x9c
402
popa:
403
    encodings:
404
    - opcode: 0x61
405
pusha:
406
    encodings:
407
    - opcode: 0x60
408
clc:
409
    flags:
410
     C: 0
411
    encodings:
412
    - opcode: 0xf8
413
stc:
414
    flags:
415
     C: 1
416
    encodings:
417
    - opcode: 0xf9
418
cli:
419
    flags:
420
     I: 0
421
    encodings:
422
    - opcode: 0xfa
423
sti:
424
    flags:
425
     I: 1
426
    encodings:
427
    - opcode: 0xfb
428
cld:
429
    flags:
430
     D: 0
431
    encodings:
432
    - opcode: 0xfc
433
std:
434
    flags:
435
     D: 1
436
    encodings:
437
    - opcode: 0xfd
438
cmc:
439
    flags:
440
     C: M
441
    encodings:
442
    - opcode: 0xf5
443
lahf:
444
    encodings:
445
    - opcode: 0x9f
446
      operands: [AH]
447
sahf:
448
    flags:
449
     C: M
450
     P: M
451
     A: M
452
     Z: M
453
     S: M
454
    encodings:
455
    - opcode: 0x9e
456
      operands: [AH]
457
setalc:
458
    flags:
459
     C: M
460
    encodings:
461
    - opcode: 0xd6
462
      operands: [AL]
463
xlat:
464
    encodings:
465
    - opcode: 0xd7
466
      operands: [AL, BX]
467
leave:
468
    encodings:
469
    - opcode: 0xc9
470
cbw:
471
    encodings:
472
    - opcode: 0x98
473
      operands: [AL]
474
cwd:
475
    encodings:
476
    - opcode: 0x99
477
      operands: [AX]
478
inc:
479
    flags:
480
     O: M
481
     S: M
482
     Z: M
483
     A: M
484
     P: M
485
    encodings:
486
    - opcode: 0xfe
487
      reg: 0
488
      operands: [Eb]
489
    - opcode: 0xff
490
      reg: 0
491
      operands: [Ew]
492
    - opcode: 0x40
493
      operands: [AX]
494
    - opcode: 0x41
495
      operands: [CX]
496
    - opcode: 0x42
497
      operands: [DX]
498
    - opcode: 0x43
499
      operands: [BX]
500
    - opcode: 0x44
501
      operands: [SP]
502
    - opcode: 0x45
503
      operands: [BP]
504
    - opcode: 0x46
505
      operands: [SI]
506
    - opcode: 0x47
507
      operands: [DI]
508
dec:
509
    flags:
510
     O: M
511
     S: M
512
     Z: M
513
     A: M
514
     P: M
515
    encodings:
516
    - opcode: 0xfe
517
      reg: 1
518
      operands: [Eb]
519
    - opcode: 0xff
520
      reg: 1
521
      operands: [Ew]
522
    - opcode: 0x48
523
      operands: [AX]
524
    - opcode: 0x49
525
      operands: [CX]
526
    - opcode: 0x4a
527
      operands: [DX]
528
    - opcode: 0x4b
529
      operands: [BX]
530
    - opcode: 0x4c
531
      operands: [SP]
532
    - opcode: 0x4d
533
      operands: [BP]
534
    - opcode: 0x4e
535
      operands: [SI]
536
    - opcode: 0x4f
537
      operands: [DI]
538
lds:
539
    encodings:
540
    - opcode: 0xc5
541
      operands: [Gw, Mp]
542
lea:
543
    encodings:
544
    - opcode: 0x8d
545
      operands: [Gw, Mw]
546
les:
547
    encodings:
548
    - opcode: 0xc4
549
      operands: [Gw, Mp]
550
mov:
551
    encodings:
552
    - opcode: 0x88
553
      operands: [Eb, Gb]
554
    - opcode: 0x89
555
      operands: [Ew, Gw]
556
    - opcode: 0x8a
557
      operands: [Gb, Eb]
558
    - opcode: 0x8b
559
      operands: [Gw, Ew]
560
    - opcode: 0xc6
561
      reg: 0
562
      operands: [Eb, Ib]
563
    - opcode: 0xc7
564
      reg: 0
565
      operands: [Ew, Iw]
566
    - opcode: 0xb0
567
      operands: [AL, Ib]
568
    - opcode: 0xb1
569
      operands: [CL, Ib]
570
    - opcode: 0xb2
571
      operands: [DL, Ib]
572
    - opcode: 0xb3
573
      operands: [BL, Ib]
574
    - opcode: 0xb4
575
      operands: [AH, Ib]
576
    - opcode: 0xb5
577
      operands: [CH, Ib]
578
    - opcode: 0xb6
579
      operands: [DH, Ib]
580
    - opcode: 0xb7
581
      operands: [BH, Ib]
582
    - opcode: 0xb8
583
      operands: [AX, Iw]
584
    - opcode: 0xb9
585
      operands: [CX, Iw]
586
    - opcode: 0xba
587
      operands: [DX, Iw]
588
    - opcode: 0xbb
589
      operands: [BX, Iw]
590
    - opcode: 0xbc
591
      operands: [SP, Iw]
592
    - opcode: 0xbd
593
      operands: [BP, Iw]
594
    - opcode: 0xbe
595
      operands: [SI, Iw]
596
    - opcode: 0xbf
597
      operands: [DI, Iw]
598
    - opcode: 0x8e
599
      reg: 0
600
      operands: [ES, Ew]
601
    - opcode: 0x8e
602
      reg: 1
603
      operands: [CS, Ew]
604
    - opcode: 0x8e
605
      reg: 2
606
      operands: [SS, Ew]
607
    - opcode: 0x8e
608
      reg: 3
609
      operands: [DS, Ew]
610
    - opcode: 0x8e
611
      reg: 4
612
      operands: [ES, Ew]
613
    - opcode: 0x8e
614
      reg: 5
615
      operands: [CS, Ew]
616
    - opcode: 0x8e
617
      reg: 6
618
      operands: [SS, Ew]
619
    - opcode: 0x8e
620
      reg: 7
621
      operands: [DS, Ew]
622
    - opcode: 0x8c
623
      reg: 0
624
      operands: [Ew, ES]
625
    - opcode: 0x8c
626
      reg: 1
627
      operands: [Ew, CS]
628
    - opcode: 0x8c
629
      reg: 2
630
      operands: [Ew, SS]
631
    - opcode: 0x8c
632
      reg: 3
633
      operands: [Ew, DS]
634
    - opcode: 0x8c
635
      reg: 4
636
      operands: [Ew, ES]
637
    - opcode: 0x8c
638
      reg: 5
639
      operands: [Ew, CS]
640
    - opcode: 0x8c
641
      reg: 6
642
      operands: [Ew, SS]
643
    - opcode: 0x8c
644
      reg: 7
645
      operands: [Ew, DS]
646
    - opcode: 0xa0
647
      operands: [AL, Ob]
648
    - opcode: 0xa1
649
      operands: [AX, Ow]
650
    - opcode: 0xa2
651
      operands: [Ob, AL]
652
    - opcode: 0xa3
653
      operands: [Ow, AX]
654
aaa:
655
    flags:
656
      A: M
657
      C: M
658
    encodings:
659
    - opcode: 0x37
660
      operands: [AX]
661
aad:
662
    flags:
663
      S: M
664
      Z: M
665
      P: M
666
    encodings:
667
    - opcode: 0xd5
668
      operands: [AX, Ib]
669
aas:
670
    flags:
671
      A: M
672
      C: M
673
    encodings:
674
    - opcode: 0x3f
675
      operands: [AX]
676
daa:
677
    flags:
678
      S: M
679
      Z: M
680
      A: M
681
      C: M
682
      P: M
683
    encodings:
684
    - opcode: 0x27
685
      operands: [AL]
686
das:
687
    flags:
688
      S: M
689
      Z: M
690
      A: M
691
      C: M
692
      P: M
693
    encodings:
694
    - opcode: 0x2f
695
      operands: [AX]
696
imul:
697
    flags:
698
      C: M
699
      O: M
700
      Z: M
701
    encodings:
702
    - opcode: 0xf6
703
      reg: 5
704
      operands: [Eb]
705
    - opcode: 0xf7
706
      reg: 5
707
      operands: [Ew]
708
    - opcode: 0x69
709
      operands: [Ew, Iw]
710
    - opcode: 0x6b
711
      operands: [Ew, Ib]
712
mul:
713
    flags:
714
      C: M
715
      O: M
716
      Z: M
717
    encodings:
718
    - opcode: 0xf6
719
      reg: 4
720
      operands: [Eb, Ib]
721
    - opcode: 0xf7
722
      reg: 4
723
      operands: [Ew, Iw]
724
int3:
725
    encodings:
726
    - opcode: 0xcc
727
int:
728
    encodings:
729
    - opcode: 0xcd
730
      operands: [Ib]
731
xchg:
732
    encodings:
733
    - opcode: 0x86
734
      operands: [Gb, Eb]
735
    - opcode: 0x87
736
      operands: [Gw, Ew]
737
    - opcode: 0x91
738
      operands: [CX, AX]
739
    - opcode: 0x92
740
      operands: [DX, AX]
741
    - opcode: 0x93
742
      operands: [BX, AX]
743
    - opcode: 0x94
744
      operands: [SP, AX]
745
    - opcode: 0x95
746
      operands: [BP, AX]
747
    - opcode: 0x96
748
      operands: [SI, AX]
749
    - opcode: 0x97
750
      operands: [DI, AX]
751
call:
752
    encodings:
753
    - opcode: 0xe8
754
      operands: [Iw]
755
    - opcode: 0x9a
756
      operands: [Jp]
757
    - opcode: 0xff
758
      reg: 2
759
      operands: [Ew]
760
    - opcode: 0xff
761
      reg: 3
762
      operands: [Mp]
763
iret:
764
    flags:
765
      C: M
766
      P: M
767
      A: M
768
      Z: M
769
      S: M
770
      T: M
771
      I: M
772
      D: M
773
      O: M
774
    encodings:
775
    - opcode: 0xcf
776
ret:
777
    encodings:
778
    - opcode: 0xc3
779
    - opcode: 0xc2
780
      operands: [Iw]
781
    - opcode: 0xcb
782
    - opcode: 0xca
783
      operands: [Iw]
784
rcl:
785
    flags:
786
     C: M
787
     O: M
788
    encodings:
789
    # Single bit
790
    - opcode: 0xd0
791
      reg: 2
792
      operands: [Eb]
793
    - opcode: 0xd1
794
      reg: 2
795
      operands: [Ew]
796
    # By immediate
797
    - opcode: 0xc0
798
      reg: 2
799
      operands: [Eb, Ib]
800
      note: "+ (n-1)"
801
    - opcode: 0xc1
802
      reg: 2
803
      operands: [Ew, Ib]
804
      note: "+ (n-1)"
805
    # By reg
806
    - opcode: 0xd2
807
      reg: 2
808
      operands: [Eb, CL]
809
      note: "+ (n-1)"
810
    - opcode: 0xd3
811
      reg: 2
812
      operands: [Ew, CL]
813
      note: "+ (n-1)"
814
rcr:
815
    flags:
816
     C: M
817
     O: M
818
    encodings:
819
    # Single bit
820
    - opcode: 0xd0
821
      reg: 3
822
      operands: [Eb]
823
    - opcode: 0xd1
824
      reg: 3
825
      operands: [Ew]
826
    # By immediate
827
    - opcode: 0xc0
828
      reg: 3
829
      operands: [Eb, Ib]
830
      note: "+ (n-1)"
831
    - opcode: 0xc1
832
      reg: 3
833
      operands: [Ew, Ib]
834
      note: "+ (n-1)"
835
    # By reg
836
    - opcode: 0xd2
837
      reg: 3
838
      operands: [Eb, CL]
839
      note: "+ (n-1)"
840
    - opcode: 0xd3
841
      reg: 3
842
      operands: [Ew, CL]
843
      note: "+ (n-1)"
844
rol:
845
    flags:
846
     C: M
847
     O: M
848
    encodings:
849
    # Single bit
850
    - opcode: 0xd0
851
      reg: 0
852
      operands: [Eb]
853
    - opcode: 0xd1
854
      reg: 0
855
      operands: [Ew]
856
    # By immediate
857
    - opcode: 0xc0
858
      reg: 0
859
      operands: [Eb, Ib]
860
      note: "+ (n-1)"
861
    - opcode: 0xc1
862
      reg: 0
863
      operands: [Ew, Ib]
864
      note: "+ (n-1)"
865
    # By reg
866
    - opcode: 0xd2
867
      reg: 0
868
      operands: [Eb, CL]
869
      note: "+ (n-1)"
870
    - opcode: 0xd3
871
      reg: 0
872
      operands: [Ew, CL]
873
      note: "+ (n-1)"
874
ror:
875
    flags:
876
     C: M
877
     O: M
878
    encodings:
879
    # Single bit
880
    - opcode: 0xd0
881
      reg: 1
882
      operands: [Eb]
883
    - opcode: 0xd1
884
      reg: 1
885
      operands: [Ew]
886
    # By immediate
887
    - opcode: 0xc0
888
      reg: 1
889
      operands: [Eb, Ib]
890
      note: "+ (n-1)"
891
    - opcode: 0xc1
892
      reg: 1
893
      operands: [Ew, Ib]
894
      note: "+ (n-1)"
895
    # By reg
896
    - opcode: 0xd2
897
      reg: 1
898
      operands: [Eb, CL]
899
      note: "+ (n-1)"
900
    - opcode: 0xd3
901
      reg: 1
902
      operands: [Ew, CL]
903
      note: "+ (n-1)"
904
sar:
905
    flags:
906
     C: M
907
     O: M
908
     Z: M
909
     P: M
910
     S: M
911
    encodings:
912
    # Single bit
913
    - opcode: 0xd0
914
      reg: 7
915
      operands: [Eb]
916
    - opcode: 0xd1
917
      reg: 7
918
      operands: [Ew]
919
    # By immediate
920
    - opcode: 0xc0
921
      reg: 7
922
      operands: [Eb, Ib]
923
      note: "+ (n-1)"
924
    - opcode: 0xc1
925
      reg: 7
926
      operands: [Ew, Ib]
927
      note: "+ (n-1)"
928
    # By reg
929
    - opcode: 0xd2
930
      reg: 7
931
      operands: [Eb, CL]
932
      note: "+ (n-1)"
933
    - opcode: 0xd3
934
      reg: 7
935
      operands: [Ew, CL]
936
      note: "+ (n-1)"
937
shl:
938
    flags:
939
     C: M
940
     O: M
941
     Z: M
942
     P: M
943
     S: M
944
    encodings:
945
    # Single bit
946
    - opcode: 0xd0
947
      reg: 6
948
      operands: [Eb]
949
    - opcode: 0xd1
950
      reg: 6
951
      operands: [Ew]
952
    # By immediate
953
    - opcode: 0xc0
954
      reg: 6
955
      operands: [Eb, Ib]
956
      note: "+ (n-1)"
957
    - opcode: 0xc1
958
      reg: 6
959
      operands: [Ew, Ib]
960
      note: "+ (n-1)"
961
    # By reg
962
    - opcode: 0xd2
963
      reg: 6
964
      operands: [Eb, CL]
965
      note: "+ (n-1)"
966
    - opcode: 0xd3
967
      reg: 6
968
      operands: [Ew, CL]
969
      note: "+ (n-1)"
970
sal:
971
    flags:
972
     C: M
973
     O: M
974
     Z: M
975
     P: M
976
     S: M
977
    encodings:
978
    # Single bit
979
    - opcode: 0xd0
980
      reg: 6
981
      operands: [Eb]
982
    - opcode: 0xd1
983
      reg: 6
984
      operands: [Ew]
985
    # By immediate
986
    - opcode: 0xc0
987
      reg: 6
988
      operands: [Eb, Ib]
989
      note: "+ (n-1)"
990
    - opcode: 0xc1
991
      reg: 6
992
      operands: [Ew, Ib]
993
      note: "+ (n-1)"
994
    # By reg
995
    - opcode: 0xd2
996
      reg: 6
997
      operands: [Eb, CL]
998
      note: "+ (n-1)"
999
    - opcode: 0xd3
1000
      reg: 6
1001
      operands: [Ew, CL]
1002
      note: "+ (n-1)"
1003
shr:
1004
    flags:
1005
     C: M
1006
     O: M
1007
     Z: M
1008
     P: M
1009
     S: M
1010
    encodings:
1011
    # Single bit
1012
    - opcode: 0xd0
1013
      reg: 5
1014
      operands: [Eb]
1015
    - opcode: 0xd1
1016
      reg: 5
1017
      operands: [Ew]
1018
    # By immediate
1019
    - opcode: 0xc0
1020
      reg: 5
1021
      operands: [Eb, Ib]
1022
      note: "+ (n-1)"
1023
    - opcode: 0xc1
1024
      reg: 5
1025
      operands: [Ew, Ib]
1026
      note: "+ (n-1)"
1027
    # By reg
1028
    - opcode: 0xd2
1029
      reg: 5
1030
      operands: [Eb, CL]
1031
      note: "+ (n-1)"
1032
    - opcode: 0xd3
1033
      reg: 5
1034
      operands: [Ew, CL]
1035
      note: "+ (n-1)"
1036
esc:
1037
    encodings:
1038
    - opcode: 0xd8
1039
    - opcode: 0xd9
1040
    - opcode: 0xda
1041
    - opcode: 0xdb
1042
    - opcode: 0xdc
1043
    - opcode: 0xdd
1044
    - opcode: 0xde
1045
    - opcode: 0xdf
1046
    notes:
1047
    - Acts as a NOP unless built with -S80X86_TRAP_ESCAPE=ON otherwise raises
1048
      trap 7.
1049
hlt:
1050
    encodings:
1051
    - opcode: 0xf4
1052
      notime: true
1053
wait:
1054
    encodings:
1055
    - opcode: 0x9b
1056
      notime: true
1057
inb:
1058
    encodings:
1059
    - opcode: 0xe4
1060
      operands: [Ib]
1061
    - opcode: 0xec
1062
      operands: [DX]
1063
inw:
1064
    encodings:
1065
    - opcode: 0xe5
1066
      operands: [Ib]
1067
    - opcode: 0xed
1068
      operands: [DX]
1069
outb:
1070
    encodings:
1071
    - opcode: 0xe6
1072
      operands: [Ib]
1073
    - opcode: 0xee
1074
      operands: [DX]
1075
outw:
1076
    encodings:
1077
    - opcode: 0xe7
1078
      operands: [Ib]
1079
    - opcode: 0xef
1080
      operands: [DX]
1081
aam:
1082
    flags:
1083
      S: M
1084
      Z: M
1085
      P: M
1086
    encodings:
1087
    - opcode: 0xd4
1088
      operands: [Ib]
1089
      timing_operands:
1090
      - [1]
1091
div:
1092
    encodings:
1093
    - opcode: 0xf6
1094
      reg: 6
1095
      operands: [Eb]
1096
      timing_operands:
1097
      - [10]
1098
    - opcode: 0xf7
1099
      reg: 6
1100
      operands: [Ew]
1101
      timing_operands:
1102
      - [10]
1103
idiv:
1104
    encodings:
1105
    - opcode: 0xf6
1106
      reg: 7
1107
      operands: [Eb]
1108
      timing_operands:
1109
      - [10]
1110
    - opcode: 0xf7
1111
      reg: 7
1112
      operands: [Ew]
1113
      timing_operands:
1114
      - [10]
1115
jmp:
1116
    encodings:
1117
    - opcode: 0xe9
1118
      operands: [Iw]
1119
    - opcode: 0xea
1120
      operands: [Iw, Iw]
1121
    - opcode: 0xeb
1122
      operands: [Ib]
1123
    - opcode: 0xff
1124
      reg: 4
1125
      operands: [Ew]
1126
    - opcode: 0xff
1127
      reg: 5
1128
      operands: [Mp]
1129
je:
1130
    encodings:
1131
    - opcode: 0x74
1132
      operands: [Ib]
1133
      taken:
1134
        ZF: 1
1135
      not_taken:
1136
        ZF: 0
1137
jl:
1138
    encodings:
1139
    - opcode: 0x7c
1140
      operands: [Ib]
1141
      taken:
1142
        ZF: 1
1143
        SF: 0
1144
      not_taken:
1145
        ZF: 0
1146
        SF: 0
1147
jle:
1148
    encodings:
1149
    - opcode: 0x7e
1150
      operands: [Ib]
1151
      taken:
1152
        ZF: 1
1153
      not_taken:
1154
        ZF: 0
1155
        OF: 0
1156
        SF: 0
1157
jb:
1158
    encodings:
1159
    - opcode: 0x72
1160
      operands: [Ib]
1161
      taken:
1162
        CF: 1
1163
      not_taken:
1164
        CF: 0
1165
jbe:
1166
    encodings:
1167
    - opcode: 0x76
1168
      operands: [Ib]
1169
      taken:
1170
        ZF: 1
1171
      not_taken:
1172
        ZF: 0
1173
        CF: 0
1174
jp:
1175
    encodings:
1176
    - opcode: 0x7a
1177
      operands: [Ib]
1178
      taken:
1179
        PF: 1
1180
      not_taken:
1181
        PF: 0
1182
jo:
1183
    encodings:
1184
    - opcode: 0x70
1185
      operands: [Ib]
1186
      taken:
1187
        OF: 1
1188
      not_taken:
1189
        OF: 0
1190
js:
1191
    encodings:
1192
    - opcode: 0x78
1193
      operands: [Ib]
1194
      taken:
1195
        SF: 1
1196
      not_taken:
1197
        SF: 0
1198
jne:
1199
    encodings:
1200
    - opcode: 0x75
1201
      operands: [Ib]
1202
      taken:
1203
        ZF: 0
1204
      not_taken:
1205
        ZF: 1
1206
jnl:
1207
    encodings:
1208
    - opcode: 0x7d
1209
      operands: [Ib]
1210
      taken:
1211
        SF: 0
1212
        OF: 0
1213
      not_taken:
1214
        SF: 1
1215
        OF: 0
1216
jnle:
1217
    encodings:
1218
    - opcode: 0x7f
1219
      operands: [Ib]
1220
      taken:
1221
        SF: 0
1222
        OF: 0
1223
        ZF: 0
1224
      not_taken:
1225
        ZF: 1
1226
jnb:
1227
    encodings:
1228
    - opcode: 0x73
1229
      operands: [Ib]
1230
      taken:
1231
        CF: 0
1232
      not_taken:
1233
        CF: 1
1234
jnbe:
1235
    encodings:
1236
    - opcode: 0x77
1237
      operands: [Ib]
1238
      taken:
1239
        CF: 0
1240
        ZF: 0
1241
      not_taken:
1242
        ZF: 1
1243
jnp:
1244
    encodings:
1245
    - opcode: 0x7b
1246
      operands: [Ib]
1247
      taken:
1248
        PF: 0
1249
      not_taken:
1250
        PF: 1
1251
jno:
1252
    encodings:
1253
    - opcode: 0x71
1254
      operands: [Ib]
1255
      taken:
1256
        OF: 0
1257
      not_taken:
1258
        OF: 1
1259
jns:
1260
    encodings:
1261
    - opcode: 0x79
1262
      operands: [Ib]
1263
      taken:
1264
        SF: 0
1265
      not_taken:
1266
        SF: 1
1267
jcxz:
1268
    encodings:
1269
    - opcode: 0xe3
1270
      operands: [Ib]
1271
      taken:
1272
        CX: 0
1273
      not_taken:
1274
        CX: 1
1275
bound:
1276
    encodings:
1277
    - opcode: 0x62
1278
      operands: [Mp]
1279
into:
1280
    encodings:
1281
    - opcode: 0xce
1282
loop:
1283
    encodings:
1284
    - opcode: 0xe2
1285
      operands: [Ib]
1286
      taken:
1287
        CX: 2
1288
      not_taken:
1289
        CX: 1
1290
loope:
1291
    encodings:
1292
    - opcode: 0xe1
1293
      operands: [Ib]
1294
      taken:
1295
        CX: 2
1296
        ZF: 1
1297
      not_taken:
1298
        CX: 1
1299
        ZF: 0
1300
loopne:
1301
    encodings:
1302
    - opcode: 0xe0
1303
      operands: [Ib]
1304
      taken:
1305
        CX: 2
1306
        ZF: 0
1307
      not_taken:
1308
        CX: 1
1309
        ZF: 1
1310
stos:
1311
    encodings:
1312
    - opcode: 0xaa
1313
      operands: [AL]
1314
    - opcode: 0xab
1315
      operands: [AX]
1316
cmps:
1317
    flags:
1318
      O: M
1319
      S: M
1320
      Z: M
1321
      A: M
1322
      C: M
1323
      P: M
1324
    encodings:
1325
    - opcode: 0xa6
1326
      use_prefix: 0xf3
1327
      base:
1328
        CX: 1
1329
      next:
1330
        CX: 2
1331
    - opcode: 0xa7
1332
      use_prefix: 0xf3
1333
      base:
1334
        CX: 1
1335
      next:
1336
        CX: 2
1337
lods:
1338
    encodings:
1339
    - opcode: 0xac
1340
      use_prefix: 0xf3
1341
      base:
1342
        CX: 1
1343
      next:
1344
        CX: 2
1345
    - opcode: 0xad
1346
      use_prefix: 0xf3
1347
      base:
1348
        CX: 1
1349
      next:
1350
        CX: 2
1351
movs:
1352
    encodings:
1353
    - opcode: 0xa4
1354
      use_prefix: 0xf3
1355
      base:
1356
        CX: 1
1357
      next:
1358
        CX: 2
1359
    - opcode: 0xa5
1360
      use_prefix: 0xf3
1361
      base:
1362
        CX: 1
1363
      next:
1364
        CX: 2
1365
ins:
1366
    encodings:
1367
    - opcode: 0x6c
1368
      use_prefix: 0xf3
1369
      base:
1370
        CX: 1
1371
      next:
1372
        CX: 2
1373
    - opcode: 0x6d
1374
      use_prefix: 0xf3
1375
      base:
1376
        CX: 1
1377
      next:
1378
        CX: 2
1379
outs:
1380
    encodings:
1381
    - opcode: 0x6e
1382
      use_prefix: 0xf3
1383
      base:
1384
        CX: 1
1385
      next:
1386
        CX: 2
1387
    - opcode: 0x6f
1388
      use_prefix: 0xf3
1389
      base:
1390
        CX: 1
1391
      next:
1392
        CX: 2
1393
scas:
1394
    flags:
1395
      O: M
1396
      S: M
1397
      Z: M
1398
      A: M
1399
      C: M
1400
      P: M
1401
    encodings:
1402
    - opcode: 0xae
1403
      use_prefix: 0xf2
1404
      base:
1405
        AL: 0x77
1406
        CX: 1
1407
      next:
1408
        AX: 0x7777
1409
        CX: 2
1410
    - opcode: 0xaf
1411
      use_prefix: 0xf2
1412
      base:
1413
        AX: 0x7777
1414
        CX: 1
1415
      next:
1416
        AX: 0x7777
1417
        CX: 2
1418
enter:
1419
    encodings:
1420
    - opcode: 0xc8
1421
      operands: [Iw, Ib]
1422
      timing_operands:
1423
      - [0, 0]
1424
      - [32, 0]
1425
      - [0, 1]
1426
      - [0, 2]

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.