Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PUSH Instruction
 ◄Summary► ◄Key► ◄Example►                    ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
 01010reg
───────────────┬─────────────────────────┬──────────────────────────────────
 PUSH  reg16   │ push  dx                │ 88/86 11 (88=15)
 PUSH  reg32*  │                         │   286 3
 PUSHW reg16   │                         │   386 2
 PUSHD reg16*  │                         │   486 1
 PUSHD reg32*  │                         │
───────────────┴─────────────────────────┴──────────────────────────────────
 
 11111111    mod,110,r/m      disp (2)
───────────────┬─────────────────────────┬──────────────────────────────────
 PUSH  mem16   │ push  [di]              │ 88/86 16+EA (88=24+EA)
 PUSH  mem32*  │ push  fcount            │   286 5
               │                         │   386 5
               │                         │   486 4
───────────────┴─────────────────────────┴──────────────────────────────────
 
 00,sreg,110
───────────────┬─────────────────────────┬──────────────────────────────────
 PUSH  segreg  │ push  es                │ 88/86 10 (88=14)
 PUSHW segreg  │ push  ss                │   286 3
 PUSHD segreg* │ push  cs                │   386 2
               │                         │   486 3
───────────────┴─────────────────────────┴──────────────────────────────────
 
 00001111    10,sreg,000
───────────────┬─────────────────────────┬──────────────────────────────────
 PUSH  segreg  │ push  fs                │ 88/86 ──
 PUSHW segreg  │ push  gs                │   286 ──
 PUSHD segreg* │                         │   386 2
               │                         │   486 3
───────────────┴─────────────────────────┴──────────────────────────────────
 
 011010s0    data (1 or 2)
───────────────┬─────────────────────────┬──────────────────────────────────
 PUSH  immed   │ push  'a'               │ 88/86 ──
 PUSHW immed   │ push  15000             │   286 3
 PUSHD immed*  │                         │   386 2
               │                         │   486 1
───────────────┴─────────────────────────┴──────────────────────────────────
  * 80386/486 only.
                                    -♦-